Reload collections (all, for now) on changeParent() to refresh hasChildCollections()
This commit is contained in:
parent
1d14c69ad5
commit
15ec35c927
|
@ -1166,6 +1166,8 @@ Scholar.Collection.prototype.changeParent = function(parent){
|
||||||
notifyIDs.push(parent);
|
notifyIDs.push(parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: only reload the necessary ones
|
||||||
|
Scholar.Collections.reloadAll();
|
||||||
Scholar.Notifier.trigger('modify', 'collection', notifyIDs);
|
Scholar.Notifier.trigger('modify', 'collection', notifyIDs);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user