www

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

commit 3ee09e8d38b73247cab4cb8df00b4d03d66f62e2
parent 6cf597a08f795aa6452e398e030594c418bb7452
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 14 May 2014 17:14:45 -0400

Fix gray bar below Zotero pane when resizing Firebug down

Follow-up from c1c0b42a12

Diffstat:
Mchrome/content/zotero/bindings/guidancepanel.xml | 5++++-
Mchrome/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 @@ -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 @@ -58,7 +58,7 @@ <stack id="zotero-pane-stack" persist="savedHeight" savedHeight="300" hidden="true"/> - <zoteroguidancepanel id="zotero-toolbar-button-guidance" about="toolbarButton" for="zotero-toolbar-button" position="bottomcenter topleft" delay="2000" foregroundonly="true"/> + <zoteroguidancepanel id="zotero-toolbar-button-guidance" about="toolbarButton" for="zotero-toolbar-button" position="bottomcenter topleft" delay="2000" foregroundonly="true" hidden="true"/> <!-- Annotation Toolbar --> <toolbar id="zotero-annotate-tb" crop="end" insertbefore="content" hidden="true"> @@ -70,6 +70,7 @@ </toolbar> </vbox> + <!-- Scrape Code --> <hbox id="urlbar-icons"> <popupset>