fix(listeners) history

This commit is contained in:
coderaiser 2014-07-01 03:50:20 -04:00
parent 075c94673b
commit a9400ce06b
2 changed files with 6 additions and 2 deletions

View file

@ -1608,7 +1608,9 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
if (!files || !files.parentElement)
current = filesPassive[0];
DOM.setCurrentFile(current);
DOM.setCurrentFile(current, {
nohistory: false
});
return this;
};

View file

@ -334,7 +334,9 @@ var Util, DOM, CloudFunc, CloudCmd;
function pop() {
Events.add('popstate', function(event) {
var path = event.state;
var path = event.state;
path = Util.rmStrOnce(path, CloudFunc.FS);
if (path)
CloudCmd.loadDir({