From 3ee09e8d38b73247cab4cb8df00b4d03d66f62e2 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 14 May 2014 17:14:45 -0400 Subject: [PATCH] Fix gray bar below Zotero pane when resizing Firebug down Follow-up from c1c0b42a12 --- chrome/content/zotero/bindings/guidancepanel.xml | 5 ++++- chrome/content/zotero/overlay.xul | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/bindings/guidancepanel.xml b/chrome/content/zotero/bindings/guidancepanel.xml index 5f9999e50d..6703bb9b94 100644 --- a/chrome/content/zotero/bindings/guidancepanel.xml +++ b/chrome/content/zotero/bindings/guidancepanel.xml @@ -60,10 +60,13 @@ if(text.length) descriptionNode.appendChild(document.createElementNS( "http://www.w3.org/1999/xhtml", "br")); } - + + this.setAttribute('onpopuphidden', 'this.hidden = true'); + var me = this; var f = function() { if(me.hasAttribute("foregroundonly") && Services.ww.activeWindow != window) return; + me.hidden = false; panel.openPopup(forEl, position ? position : "after_start", x ? parseInt(x, 10) : 0, y ? parseInt(y, 10) : 0, false, false, null); Zotero.Prefs.set(pref, true); diff --git a/chrome/content/zotero/overlay.xul b/chrome/content/zotero/overlay.xul index 410d4a663e..5e61891073 100644 --- a/chrome/content/zotero/overlay.xul +++ b/chrome/content/zotero/overlay.xul @@ -58,7 +58,7 @@