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;
};
var getFilesDataFiles = function () {
var getFilesDataFiles = exp.getFilesDataFiles = function () {
var ret = [];
for (var el in files[FILES_DATA]) {
files[FILES_DATA].forEach(function (el) {
if (el.href && ret.indexOf(el.href) === -1) {
ret.push(el.href);
}
}
});
return ret;
};

Loading…
Cancel
Save