AlkantarClanX12

Your IP : 52.14.100.101


Current Path : /home/thanudqk/siampokernew.org/wp-content/plugins/wp-file-manager/lib/js/commands/
Upload File :
Current File : /home/thanudqk/siampokernew.org/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