[Pkg-mozext-commits] [tabmixplus] 44/51: Remove redundant set attribute. calling gBrowser.tabContextMenu too soon broke s3menuwizard from initialize tab context menu (regressed by changeset 5f69aeeba450 - Set missing attribute on first tab)

David Prévot taffit at moszumanska.debian.org
Mon Feb 2 18:36:56 UTC 2015


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 0377e4ae833b1b39c7a75cdfee76359a0460522f
Author: onemen <tabmix.onemen at gmail.com>
Date:   Thu Jan 22 12:29:17 2015 +0200

    Remove redundant set attribute. calling gBrowser.tabContextMenu too soon broke s3menuwizard from initialize tab context menu (regressed by changeset 5f69aeeba450 - Set missing attribute on first tab)
    
    )
---
 chrome/content/tabmix.js | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/chrome/content/tabmix.js b/chrome/content/tabmix.js
index 003d241..22842d2 100644
--- a/chrome/content/tabmix.js
+++ b/chrome/content/tabmix.js
@@ -1104,12 +1104,8 @@ var TMP_eventListener = {
 
     function updateAttrib(aGetAtt, aGetValue, aAtt, aValue) {
       let node = document.getAnonymousElementByAttribute(aTab, aGetAtt, aGetValue);
-      if (node)
-        node.setAttribute(aAtt, aValue);
+      Tabmix.setItem(node, aAtt, aValue);
     }
-
-    aTab.setAttribute("context", gBrowser.tabContextMenu.id);
-
     updateAttrib("class", "tab-icon-image", "role", "presentation");
     updateAttrib("class", "tab-text", "role", "presentation");
   }

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



More information about the Pkg-mozext-commits mailing list