From 068599cead1e98d2fde12e92e24d2aed7aeb9931 Mon Sep 17 00:00:00 2001 From: Jos van den Oever Date: Thu, 8 Mar 2012 10:25:55 +0100 Subject: [PATCH] Initialize array earlier so that the model also works without scanning. --- programs/touchui/app/model/FileSystem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/touchui/app/model/FileSystem.js b/programs/touchui/app/model/FileSystem.js index dbf49921..3346008f 100644 --- a/programs/touchui/app/model/FileSystem.js +++ b/programs/touchui/app/model/FileSystem.js @@ -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) {