[Pkg-mozext-commits] [nostalgy] 56/235: *** empty log message ***

David Prévot taffit at alioth.debian.org
Tue Oct 8 20:41:38 UTC 2013


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

taffit pushed a commit to branch master
in repository nostalgy.

commit c0f3598a0d4092a4bcf383c2b46b07ca61aac3e7
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date:   Mon Dec 4 20:52:26 2006 +0000

    *** empty log message ***
    
    
    git-svn-id: http://nostalgy.googlecode.com/svn/trunk@56 56b81dcf-5a2f-0410-9db0-014be2e416ff
---
 content/composer.js |    1 -
 content/folders.js  |    8 +++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/content/composer.js b/content/composer.js
index f02ecfb..b54c906 100644
--- a/content/composer.js
+++ b/content/composer.js
@@ -17,7 +17,6 @@ function nostalgy_awRecipientKeyPress(event, element) {
 	  element.value = u.substr(2,u.length - 2);
  	  element.selectionStart = 0; element.selectionEnd = 0;
         }, 0);
-	event.preventBubble();
 	event.stopPropagation();
 	return;
     }
diff --git a/content/folders.js b/content/folders.js
index f82e9d6..fdb442a 100644
--- a/content/folders.js
+++ b/content/folders.js
@@ -153,6 +153,12 @@ function NostalgyProcessKeyPress(aEvent) {
      killEvent = this.mMenuOpen;
      this.finishAutoComplete(true, true, aEvent);
      this.closeResultPopup();
+
+     // in recent TB 2.0 nighlty builds, this is not triggered
+     // automatically...
+     if (this.hasAttribute("ontextcommand")) {
+      eval(this.getAttribute("ontextcommand"));
+     }
      break;
 
    case KeyEvent.DOM_VK_ESCAPE:
@@ -174,7 +180,7 @@ function NostalgyProcessKeyPress(aEvent) {
   }
   if (killEvent) {
     aEvent.preventDefault();
-    aEvent.preventBubble();
+    aEvent.stopPropagation();
   }
   return true;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/nostalgy.git



More information about the Pkg-mozext-commits mailing list