commit 60ada26e8d7747c8ee6b32ce585f8cc10a306d9d
parent f37ab47b39f5c15d6b01eef0728b47bd7c07f267
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 2 Jun 2006 15:41:11 +0000
Delete from the right array when unregistered itemTrees
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/chrome/chromeFiles/content/scholar/xpcom/notifier.js b/chrome/chromeFiles/content/scholar/xpcom/notifier.js
@@ -22,7 +22,7 @@ Scholar.Notifier = new function(){
}
function unregisterItemTree(hash){
- _unregister('columnTree', hash);
+ _unregister('itemTree', hash);
}
/**
@@ -74,6 +74,7 @@ Scholar.Notifier = new function(){
}
function _unregister(type, hash){
+ Scholar.debug('Unregistering ' + type + ' in notifier with hash ' + hash, 4);
delete _observers[type][hash];
}
}