Edit File by line
/home/barbar84/www/wp-conte.../plugins/file-man.../applicat.../library/js/commands
File: home.js
(elFinder.prototype.commands.home = function() {
[0] Fix | Delete
"use strict";
[1] Fix | Delete
this.title = 'Home';
[2] Fix | Delete
this.alwaysEnabled = true;
[3] Fix | Delete
this.updateOnSelect = false;
[4] Fix | Delete
this.shortcuts = [{
[5] Fix | Delete
pattern : 'ctrl+home ctrl+shift+up',
[6] Fix | Delete
description : 'Home'
[7] Fix | Delete
}];
[8] Fix | Delete
[9] Fix | Delete
this.getstate = function() {
[10] Fix | Delete
var root = this.fm.root(),
[11] Fix | Delete
cwd = this.fm.cwd().hash;
[12] Fix | Delete
[13] Fix | Delete
return root && cwd && root != cwd ? 0: -1;
[14] Fix | Delete
};
[15] Fix | Delete
[16] Fix | Delete
this.exec = function() {
[17] Fix | Delete
return this.fm.exec('open', this.fm.root());
[18] Fix | Delete
};
[19] Fix | Delete
[20] Fix | Delete
[21] Fix | Delete
}).prototype = { forceLoad : true }; // this is required command
[22] Fix | Delete
[23] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function