diff --git a/lib/client/dom.js b/lib/client/dom.js index bafe82f8..1a5001f1 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -906,9 +906,10 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; * @pCurrentFile */ this.getSelectedFiles = function() { - var lRet = this.getByClassAll(SELECTED_FILE); + var selected = this.getByClassAll(SELECTED_FILE), + ret = Util.slice(selected); - return lRet.length ? lRet : null; + return ret; }; /**