[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 392/483: Composer: Make sure to remove preview styles no matter how the window is closed (e.g. when closed on extension shutdown)

David Prévot taffit at moszumanska.debian.org
Thu Jan 22 21:42:00 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.

commit a7de9a8c92dad888db8eb8ff8b3657f855a2151f
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Wed Jan 25 14:12:39 2012 +0100

    Composer: Make sure to remove preview styles no matter how the window is closed (e.g. when closed on extension shutdown)
---
 chrome/content/composer.xul | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/chrome/content/composer.xul b/chrome/content/composer.xul
index 0eb6c2f..4e57dbc 100644
--- a/chrome/content/composer.xul
+++ b/chrome/content/composer.xul
@@ -13,9 +13,9 @@
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     title="&dialog.title;"
     onload="init()"
-    ondialogaccept="addExpression()"
-    ondialogcancel="togglePreview(false)"
-    ondialogdisclosure="setAdvancedMode(!advancedMode)"
+    ondialogaccept="addExpression();"
+    ondialogdisclosure="setAdvancedMode(!advancedMode);"
+    onunload="togglePreview(false);"
     buttons="accept,cancel,disclosure"
     width="600px"
     height="400px"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git



More information about the Pkg-mozext-commits mailing list