Edit File by line
/home/barbar84/www/wp-conte.../plugins/file-man.../applicat.../library/js/commands
File: back.js
/**
[0] Fix | Delete
* @class elFinder command "back"
[1] Fix | Delete
* Open last visited folder
[2] Fix | Delete
*
[3] Fix | Delete
* @author Dmitry (dio) Levashov
[4] Fix | Delete
**/
[5] Fix | Delete
(elFinder.prototype.commands.back = function() {
[6] Fix | Delete
"use strict";
[7] Fix | Delete
this.alwaysEnabled = true;
[8] Fix | Delete
this.updateOnSelect = false;
[9] Fix | Delete
this.shortcuts = [{
[10] Fix | Delete
pattern : 'ctrl+left backspace'
[11] Fix | Delete
}];
[12] Fix | Delete
[13] Fix | Delete
this.getstate = function() {
[14] Fix | Delete
return this.fm.history.canBack() ? 0 : -1;
[15] Fix | Delete
};
[16] Fix | Delete
[17] Fix | Delete
this.exec = function() {
[18] Fix | Delete
return this.fm.history.back();
[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