File Editor
Directories:
.. (Back)
Files:
archive.js
back.js
chmod.js
colwidth.js
copy.js
cut.js
download.js
duplicate.js
edit.js
empty.js
extract.js
forward.js
fullscreen.js
getfile.js
help.js
hidden.js
hide.js
home.js
info.js
mkdir.js
mkfile.js
netmount.js
open.js
opendir.js
opennew.js
paste.js
places.js
preference.js
quicklook.js
quicklook.plugins.js
reload.js
rename.js
resize.js
restore.js
rm.js
search.js
selectall.js
selectinvert.js
selectnone.js
sort.js
undo.js
up.js
upload.js
view.js
Create New File
Create
Edit File: fullscreen.js
/** * @class elFinder command "fullscreen" * elFinder node to full scrren mode * * @author Naoki Sawada **/ elFinder.prototype.commands.fullscreen = function() { "use strict"; var self = this, fm = this.fm, update = function(e, data) { var full; e.preventDefault(); e.stopPropagation(); if (data && data.fullscreen) { full = (data.fullscreen === 'on'); self.update(void(0), full); self.title = fm.i18n(full ? 'reinstate' : 'cmdfullscreen'); } }; this.alwaysEnabled = true; this.updateOnSelect = false; this.syncTitleOnChange = true; this.value = false; this.options = { ui : 'fullscreenbutton' }; this.getstate = function() { return 0; }; this.exec = function() { var node = fm.getUI().get(0), full = (node === fm.toggleFullscreen(node)); self.title = fm.i18n(full ? 'reinstate' : 'cmdfullscreen'); self.update(void(0), full); return jQuery.Deferred().resolve(); }; fm.bind('init', function() { fm.getUI().off('resize.' + fm.namespace, update).on('resize.' + fm.namespace, update); }); };
Save Changes
Rename File
Rename