: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* @class elFinder command "forward"
* Open next visited folder
* @author Dmitry (dio) Levashov
(elFinder.prototype.commands.forward = function() {
this.alwaysEnabled = true;
this.updateOnSelect = true;
this.getstate = function() {
return this.fm.history.canForward() ? 0 : -1;
return this.fm.history.forward();
}).prototype = { forceLoad : true }; // this is required command