AlkantarClanX12

Your IP : 3.15.228.32


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/forward.js

/**
 * @class  elFinder command "forward"
 * Open next visited folder
 *
 * @author Dmitry (dio) Levashov
 **/
(elFinder.prototype.commands.forward = function() {
	"use strict";
	this.alwaysEnabled = true;
	this.updateOnSelect = true;
	this.shortcuts = [{
		pattern     : 'ctrl+right'
	}];
	
	this.getstate = function() {
		return this.fm.history.canForward() ? 0 : -1;
	};
	
	this.exec = function() {
		return this.fm.history.forward();
	};
	
}).prototype = { forceLoad : true }; // this is required command