commit d239e6e4ba4e56d3c99dea52b54fafb758710eb0
parent 95ca76545fc835a4ca171297cebcba23b31cef1f
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 20 Jun 2006 15:28:20 +0000
Typo in trigger() call in Collection.addItem() (thanks David)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/chromeFiles/content/scholar/xpcom/data_access.js b/chrome/chromeFiles/content/scholar/xpcom/data_access.js
@@ -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);