samples/fileman/static/elfinder/elfinder.full.js
function update() {
		var f = self.fm.getSelected(0);
		reset();

		self._hash = f.hash;
		self.title.text(f.name);
		self.win.addClass(self.fm.view.mime2class(f.mime));
		self.name.text(f.name);
		self.kind.text(self.fm.view.mime2kind(f.link ? 'symlink' : f.mime)); 
		self.size.text(self.fm.view.formatSize(f.size));
		self.date.text(self.fm.i18n('Modified')+': '+self.fm.view.formatDate(f.date));
		f.dim && self.add.append('<span>'+f.dim+' px</span>').show();
		f.tmb && self.ico.css('background', 'url("'+f.tmb+'") 0 0 no-repeat');
		if (f.url) {
			self.url.text(f.url).attr('href', f.url).show();
			for (var i in self.plugins) {
				if (self.plugins[i].test && self.plugins[i].test(f.mime, self.mimes, f.name)) {
					self.plugins[i].show(self, f);
					return;
				}
			}
		} else {
			self.url.hide();
		}
		
		self.win.css({
			width  : '420px',
			height : 'auto'
		});
	}
function update() {
		var f = self.fm.getSelected(0);
		reset();

		self._hash = f.hash;
		self.title.text(f.name);
		self.win.addClass(self.fm.view.mime2class(f.mime));
		self.name.text(f.name);
		self.kind.text(self.fm.view.mime2kind(f.link ? 'symlink' : f.mime)); 
		self.size.text(self.fm.view.formatSize(f.size));
		self.date.text(self.fm.i18n('Modified')+': '+self.fm.view.formatDate(f.date));
		f.dim && self.add.append('<span>'+f.dim+' px</span>').show();
		f.tmb && self.ico.css('background', 'url("'+f.tmb+'") 0 0 no-repeat');
		if (f.url) {
			self.url.text(f.url).attr('href', f.url).show();
			for (var i in self.plugins) {
				if (self.plugins[i].test && self.plugins[i].test(f.mime, self.mimes, f.name)) {
					self.plugins[i].show(self, f);
					return;
				}
			}
		} else {
			self.url.hide();
		}
		
		self.win.css({
			width  : '420px',
			height : 'auto'
		});
	}
function update ( ) { var f = self . fm . getSelected ( 0 ) ; reset ( ) ; self . _hash = f . hash ; self . title . text ( f . name ) ; self . win . addClass ( self . fm . view . mime2class ( f . mime ) ) ; self . name . text ( f . name ) ; self . kind . text ( self . fm . view . mime2kind ( f . link ? 'symlink' : f . mime ) ) ; self . size . text ( self . fm . view . formatSize ( f . size ) ) ; self . date . text ( self . fm . i18n ( 'Modified' ) + ': ' + self . fm . view . formatDate ( f . date ) ) ; f . dim && self . add . append ( '<span>' + f . dim + ' px</span>' ) . show ( ) ; f . tmb && self . ico . css ( 'background' , 'url("' + f . tmb + '") 0 0 no-repeat' ) ; if ( f . url ) { self . url . text ( f . url ) . attr ( 'href' , f . url ) . show ( ) ; for ( var i in self . plugins ) { if ( self . plugins [ i ] . test && self . plugins [ i ] . test ( f . mime , self . mimes , f . name ) ) { self . plugins [ i ] . show ( self , f ) ; return ; } } } else { self . url . hide ( ) ; } self . win . css ( { width : '420px' , height : 'auto' } ) ; }
Update quickLook window content
Update quickLook window content