fix(client) baseInit: do not set history when hash preset

This commit is contained in:
coderaiser 2016-11-06 10:28:03 +02:00
parent a7b861e4be
commit efd68b6453

View file

@ -302,7 +302,12 @@ var Util, DOM, CloudFunc, join;
/* выделяем строку с первым файлом */
if (files)
DOM.setCurrentFile(files[0]);
DOM.setCurrentFile(files[0], {
// when hash is present
// it should be handled with this.route
// overwre otherwise
history: !location.hash
});
dirPath = DOM.getCurrentDirPath(),
Listeners = CloudCmd.Listeners;