[Pkg-mozext-commits] [tabmixplus] 45/47: Fix incompatibility with WEB.DE MailCheck extension, regression from Changeset e90105e3a461
David Prévot
taffit at moszumanska.debian.org
Fri Sep 26 20:57:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch upstream
in repository tabmixplus.
commit 79b83155129f19235cff6c114b34da98ff7aa25c
Author: onemen <tabmix.onemen at gmail.com>
Date: Thu Sep 25 20:24:20 2014 +0300
Fix incompatibility with WEB.DE MailCheck extension, regression from Changeset e90105e3a461
---
chrome/content/minit/tablib.js | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/chrome/content/minit/tablib.js b/chrome/content/minit/tablib.js
index 545c8c3..925cd21 100644
--- a/chrome/content/minit/tablib.js
+++ b/chrome/content/minit/tablib.js
@@ -732,15 +732,14 @@ var tablib = {
).toCode();
}
- Tabmix.changeCode(window, "window.URLBarSetURI")._replace(
- '{',
- '{\n' +
- ' if (Tabmix.selectedTab == gBrowser.selectedTab &&\n' +
- ' Tabmix.userTypedValue && gBrowser.userTypedValue != "") {\n' +
- ' gBrowser.userTypedValue = "";\n' +
- ' }\n'
- ).toCode();
-
+ Tabmix.originalFunctions.URLBarSetURI = URLBarSetURI;
+ URLBarSetURI = function tabmix_URLBarSetURI(aURI) {
+ if (Tabmix.selectedTab == gBrowser.selectedTab &&
+ Tabmix.userTypedValue && gBrowser.userTypedValue != "") {
+ gBrowser.userTypedValue = "";
+ }
+ Tabmix.originalFunctions.URLBarSetURI.apply(window, arguments);
+ }
},
populateUndoWindowSubmenu: function(undoPopup) {
--
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