www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit bc354b1435939cda312bcab97e61aea2855a20f2
parent 5cf451aa0e396885f31f702912065f906a3cf956
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu, 19 May 2011 23:00:01 +0000

Fix "win.ZoteroPane.document is undefined" when Zotero is set to start in tab mode and the Zotero tab has not yet been selected (missed code in last commit)

Diffstat:
Mchrome/content/zotero/zoteroPane.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js @@ -84,6 +84,8 @@ var ZoteroPane = new function() this.reportErrors = reportErrors; this.displayErrorMessage = displayErrorMessage; + this.document = document; + const COLLECTIONS_HEIGHT = 32; // minimum height of the collections pane and toolbar var self = this; @@ -98,7 +100,6 @@ var ZoteroPane = new function() */ function init() { - this.document = document; if(!Zotero || !Zotero.initialized) return; // Set "Report Errors..." label via property rather than DTD entity,