commit d4a779dd53955b0607e9fbef5f8a2a3550647465
parent e312fc0bb6b6ab095a8e77bb8448a8308602384b
Author: Simon Kornblith <simon@simonster.com>
Date: Tue, 8 Mar 2011 23:37:31 +0000
don't just delete itemsTree, because it doesn't get reregistered
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/chrome/content/zotero/tab.js b/chrome/content/zotero/tab.js
@@ -38,11 +38,6 @@ var ZoteroTab = new function()
.chromeEventHandler.ownerDocument.defaultView;
if(!this.containerWindow) return;
- if(this.containerWindow.ZoteroPane && this.containerWindow.ZoteroPane.itemsView) {
- this.containerWindow.ZoteroPane.itemsView.unregister();
- delete this.containerWindow.ZoteroPane.itemsView;
- }
-
var tabs = (this.containerWindow.gBrowser.tabs
? this.containerWindow.gBrowser.tabs : this.containerWindow.gBrowser.mTabs);