Reload collections (all, for now) on changeParent() to refresh hasChildCollections()
This commit is contained in:
parent
1d14c69ad5
commit
15ec35c927
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue