[Pkg-mozext-commits] [compactheader] 195/441: Version 1.3.0beta6: Added Thunderbird 3.3a2pre to compatibility list. Added Spanish translation. Fixed bug when hiding message preview pane.
David Prévot
taffit at moszumanska.debian.org
Wed Mar 18 12:28:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository compactheader.
commit b68db858063f282c74fb4719c326d02e1656116e
Author: joachim.herb <none at none>
Date: Sun Jan 9 15:24:44 2011 +0000
Version 1.3.0beta6:
Added Thunderbird 3.3a2pre to compatibility list.
Added Spanish translation.
Fixed bug when hiding message preview pane.
---
.../CompactHeader/content/compactHeaderOverlay.js | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/chrome/CompactHeader/content/compactHeaderOverlay.js b/chrome/CompactHeader/content/compactHeaderOverlay.js
index b338349..2cdcdd8 100644
--- a/chrome/CompactHeader/content/compactHeaderOverlay.js
+++ b/chrome/CompactHeader/content/compactHeaderOverlay.js
@@ -348,6 +348,14 @@ org.mozdev.compactHeader.pane = function() {
delayedCurrentToolboxPosition(200);
dispMUACheck();
//coheToggleHeaderContent();
+
+ debugLog("mid coheOnLoadMsgHeaderPane 5");
+ var messengerWindow = document.getElementById("messengerWindow");
+ if (messengerWindow) {
+ messengerWindow.addEventListener('messagepane-hide', onMessagePaneHide, false);
+ messengerWindow.addEventListener('messagepane-unhide', onMessagePaneUnHide, false);
+ }
+
debugLog("stop coheOnLoadMsgHeaderPane");
}
@@ -1257,6 +1265,20 @@ org.mozdev.compactHeader.pane = function() {
}
}
+ function onMessagePaneHide(event) {
+ var messagePaneHBox = document.getElementById("messagepanehbox");
+ if (messagePaneHBox) {
+ messagePaneHBox.setAttribute("collapsed", "true");
+ }
+ }
+
+ function onMessagePaneUnHide(event) {
+ var messagePaneHBox = document.getElementById("messagepanehbox");
+ if (messagePaneHBox) {
+ messagePaneHBox.removeAttribute("collapsed");
+ }
+ }
+
function setCurrentToolboxPosition() {
debugLog("setCurrentToolboxPosition start");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/compactheader.git
More information about the Pkg-mozext-commits
mailing list