www

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

commit 15ec35c927932c4a6ac5f4c3d2793ba0233f0bc8
parent 1d14c69ad54171e17b93f4b108149a7d0c2b6f44
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu,  8 Jun 2006 18:53:49 +0000

Reload collections (all, for now) on changeParent() to refresh hasChildCollections()


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

diff --git a/chrome/chromeFiles/content/scholar/xpcom/data_access.js b/chrome/chromeFiles/content/scholar/xpcom/data_access.js @@ -1166,6 +1166,8 @@ Scholar.Collection.prototype.changeParent = function(parent){ notifyIDs.push(parent); } + // TODO: only reload the necessary ones + Scholar.Collections.reloadAll(); Scholar.Notifier.trigger('modify', 'collection', notifyIDs); return true; }