commit b001c5433f1dc755118a99d44ff6fd9ea31b9031 parent c722bbff56b76927a0ebac19abb87c48e6cd0388 Author: Simon Kornblith <simon@simonster.com> Date: Thu, 3 Feb 2011 05:05:11 +0000 fix a few issues opening the zotero pane Diffstat:
| M | chrome/content/zotero/advancedSearch.js | | | 4 | ++-- |
| M | chrome/content/zotero/bindings/noteeditor.xml | | | 2 | +- |
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/chrome/content/zotero/advancedSearch.js b/chrome/content/zotero/advancedSearch.js @@ -152,8 +152,8 @@ var ZoteroAdvancedSearch = new function() { return; } - if (lastWin.document.getElementById('zotero-pane').getAttribute('hidden') == 'true') { - lastWin.ZoteroPane.toggleDisplay(); + if (lastWin.ZoteroOverlay) { + lastWin.ZoteroOverlay.toggleDisplay(true); } lastWin.ZoteroPane.selectItem(item.getID(), false, true); diff --git a/chrome/content/zotero/bindings/noteeditor.xml b/chrome/content/zotero/bindings/noteeditor.xml @@ -318,7 +318,7 @@ } if (lastWin.ZoteroOverlay) { - lastWin.ZoteroOverlay.toggleDisplay(); + lastWin.ZoteroOverlay.toggleDisplay(true); } var zp = lastWin.ZoteroPane;