refactor(dom) setCurrentFile: rm unused

This commit is contained in:
coderaiser 2013-12-26 09:27:21 +00:00
parent 19e71c5f95
commit 429381e24f

View file

@ -1571,12 +1571,6 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
lCurrentFileWas = this.getCurrentFile();
if (pCurrentFile) {
if (pCurrentFile.className === 'path')
pCurrentFile = pCurrentFile.nextSibling;
if (pCurrentFile.className === 'fm-header')
pCurrentFile = pCurrentFile.nextSibling;
if (lCurrentFileWas)
unsetCurrentFile(lCurrentFileWas);