Edit File by line
/home/barbar84/www/wp-conte.../plugins/file-man.../applicat.../library/js/commands
File: selectnone.js
/**
[0] Fix | Delete
* @class elFinder command "selectnone"
[1] Fix | Delete
* Unselect ALL of cwd items
[2] Fix | Delete
*
[3] Fix | Delete
* @author Naoki Sawada
[4] Fix | Delete
**/
[5] Fix | Delete
elFinder.prototype.commands.selectnone = function() {
[6] Fix | Delete
"use strict";
[7] Fix | Delete
var self = this,
[8] Fix | Delete
fm = this.fm,
[9] Fix | Delete
state = -1;
[10] Fix | Delete
[11] Fix | Delete
fm.bind('select', function(e) {
[12] Fix | Delete
state = (e.data && e.data.unselectall)? -1 : 0;
[13] Fix | Delete
});
[14] Fix | Delete
[15] Fix | Delete
this.state = -1;
[16] Fix | Delete
this.updateOnSelect = false;
[17] Fix | Delete
[18] Fix | Delete
this.getstate = function() {
[19] Fix | Delete
return state;
[20] Fix | Delete
};
[21] Fix | Delete
[22] Fix | Delete
this.exec = function() {
[23] Fix | Delete
fm.getUI('cwd').trigger('unselectall');
[24] Fix | Delete
return $.Deferred().resolve();
[25] Fix | Delete
};
[26] Fix | Delete
};
[27] Fix | Delete
[28] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function