www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 19d268e198ec0c88a8a391a674d5c1cb65fe451d
parent bfdcbd831be0b3e086281395028034170c55a9a6
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 16 May 2006 21:56:49 +0000

No need to throw error on empty folder


Diffstat:
Mchrome/chromeFiles/content/scholar/data_access.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/chromeFiles/content/scholar/data_access.js b/chrome/chromeFiles/content/scholar/data_access.js @@ -845,7 +845,8 @@ Scholar.Objects = new function(){ var tree = Scholar.DB.query(sql); if (!tree){ - throw ('treeStructure is empty'); + Scholar.debug('No children of folder ' + parent, 5); + return toReturn; } _load('all');