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

This commit is contained in:
Dan Stillman 2006-06-08 18:53:49 +00:00
parent 1d14c69ad5
commit 15ec35c927

View file

@ -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;
}