commit 21f1e3789e89a06f9a9ce4d24adcc1909db594e4
parent 8eda39ad7ea618538e5b5073210a2b9ce1025575
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 6 Oct 2011 16:04:53 +0000
Fixes #1796, trigger() checks type rather than event for 'modify', 'delete'
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/notifier.js b/chrome/content/zotero/xpcom/notifier.js
@@ -110,7 +110,7 @@ Zotero.Notifier = new function(){
throw ('Invalid type ' + type + ' in Notifier.trigger()');
}
- switch (type) {
+ switch (event) {
case 'modify':
case 'delete':
if (!extraData) {