Fix the function returning the pads list in the drive

pull/1/head
yflory 8 years ago
parent 14938089ac
commit 9ad33574e9

@ -232,13 +232,13 @@ define([
return ret; return ret;
}; };
var getFilesDataFiles = function () { var getFilesDataFiles = exp.getFilesDataFiles = function () {
var ret = []; var ret = [];
for (var el in files[FILES_DATA]) { files[FILES_DATA].forEach(function (el) {
if (el.href && ret.indexOf(el.href) === -1) { if (el.href && ret.indexOf(el.href) === -1) {
ret.push(el.href); ret.push(el.href);
} }
} });
return ret; return ret;
}; };

Loading…
Cancel
Save