Typo in trigger() call in Collection.addItem() (thanks David)

This commit is contained in:
Dan Stillman 2006-06-20 15:28:20 +00:00
parent 95ca76545f
commit d239e6e4ba

View file

@ -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._hasChildItems){
this._hasChildItems = true;
Scholar.Notifier.trigger('modify', 'collections', this.getID());
Scholar.Notifier.trigger('modify', 'collection', this.getID());
}
Scholar.Notifier.trigger('add', 'item', itemID);