[Pkg-mozext-commits] [tabmixplus] 21/47: Call URLBarSetURI to update gURLBar.value from our Tabmix.updateUrlBarValue function

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 9334b794b1b0016753a40303e7de7fd3639eab5c
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sat Sep 20 11:16:03 2014 +0300

    Call URLBarSetURI to update gURLBar.value from our Tabmix.updateUrlBarValue function
---
 chrome/content/links/userInterface.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/chrome/content/links/userInterface.js b/chrome/content/links/userInterface.js
index 70ea79a..2d3f42c 100644
--- a/chrome/content/links/userInterface.js
+++ b/chrome/content/links/userInterface.js
@@ -251,12 +251,13 @@ Tabmix.urlBarOnBlur = function TMP_urlBarOnBlur() {
 }
 
 Tabmix.updateUrlBarValue = function TMP_updateUrlBarValue() {
+  this.selectedTab = null;
+  this.userTypedValue = null;
+
   var url = gBrowser.currentURI.spec;
   if (url != gURLBar.value && !isBlankPageURL(url)) {
-    gURLBar.value = gBrowser.userTypedValue = url;
+    URLBarSetURI();
   }
-  this.selectedTab = null;
-  this.userTypedValue = "";
 }
 
 /**

-- 
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