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