From 19d268e198ec0c88a8a391a674d5c1cb65fe451d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 16 May 2006 21:56:49 +0000 Subject: [PATCH] No need to throw error on empty folder --- chrome/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 index 145a59e7cf..fb1d3fe3f7 100644 --- 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');