fix(dom) getSelectedFiles: get from active panel

This commit is contained in:
coderaiser 2014-04-16 10:30:09 -04:00
parent 217b53218c
commit f6f39856a5

View file

@ -877,7 +877,8 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
* @currentFile
*/
this.getSelectedFiles = function() {
var selected = this.getByClassAll(SELECTED_FILE),
var panel = DOM.getPanel(),
selected = this.getByClassAll(SELECTED_FILE, panel),
ret = Util.slice(selected);
return ret;