diff --git a/lib/client.js b/lib/client.js index 1a5466f1..579f755c 100644 --- a/lib/client.js +++ b/lib/client.js @@ -372,9 +372,9 @@ var Util, DOM, CloudFunc, join; Files.get(names, function(error, templFile, templPath, templLink, templPathLink) { var Dialog = DOM.Dialog, current, - panel = panelParam || DOM.getPanel(), - dir = DOM.getCurrentDirName(), - name = DOM.getCurrentName(), + panel = panelParam || Info.panel, + dir = Info.dir, + name = Info.name, i = panel.childNodes.length; if (error) {