[Pkg-mozext-commits] [tabmixplus] 22/47: Prevent URLBarSetURI from updates gURLBar.value when we clear it
David Prévot
taffit at moszumanska.debian.org
Fri Sep 26 20:57:01 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 76eefcf11eb50df9b14d0b3a6dbe757c82757b39
Author: onemen <tabmix.onemen at gmail.com>
Date: Sat Sep 20 22:20:31 2014 +0300
Prevent URLBarSetURI from updates gURLBar.value when we clear it
---
chrome/content/minit/tablib.js | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/chrome/content/minit/tablib.js b/chrome/content/minit/tablib.js
index 2afaed2..fab1bf6 100644
--- a/chrome/content/minit/tablib.js
+++ b/chrome/content/minit/tablib.js
@@ -732,6 +732,15 @@ 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();
+
},
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