Typo in trigger() call in Collection.addItem() (thanks David)
This commit is contained in:
parent
95ca76545f
commit
d239e6e4ba
1 changed files with 1 additions and 1 deletions
|
@ -1289,7 +1289,7 @@ Scholar.Collection.prototype.addItem = function(itemID){
|
||||||
// If this was previously empty, update and send a notification to the tree
|
// If this was previously empty, update and send a notification to the tree
|
||||||
if (!this._hasChildItems){
|
if (!this._hasChildItems){
|
||||||
this._hasChildItems = true;
|
this._hasChildItems = true;
|
||||||
Scholar.Notifier.trigger('modify', 'collections', this.getID());
|
Scholar.Notifier.trigger('modify', 'collection', this.getID());
|
||||||
}
|
}
|
||||||
|
|
||||||
Scholar.Notifier.trigger('add', 'item', itemID);
|
Scholar.Notifier.trigger('add', 'item', itemID);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue