From 60ada26e8d7747c8ee6b32ce585f8cc10a306d9d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 2 Jun 2006 15:41:11 +0000 Subject: [PATCH] Delete from the right array when unregistered itemTrees --- chrome/chromeFiles/content/scholar/xpcom/notifier.js | 3 ++- 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 index ec51f6a94..a614a3221 100644 --- 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]; } }