Initialize array earlier so that the model also works without scanning.

This commit is contained in:
Jos van den Oever
2012-03-08 10:25:55 +01:00
parent 9d806390c1
commit 068599cead
+1 -1
View File
@@ -160,12 +160,12 @@ Ext.define("WebODFApp.model.FileSystemProxy", (function () {
return;
}
fileSystems = {};
this.files = files = [];
readCachedFileList(function () {
addFileSystems();
});
};
this.load = load;
this.files = files = [];
}
function finishOperation(proxy, operation, callback, scope) {
if (operation) {