summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-09 10:26:49 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-09 10:26:49 +0200
commita744d76655f08a2812270da0c459126428c5786d (patch)
treedc86d12661a607998666fb531309f824b60727c5 /application
parent1c455d9cb002b15e28c7e12883a57f020433ce5d (diff)
downloadUXP-a744d76655f08a2812270da0c459126428c5786d.tar
UXP-a744d76655f08a2812270da0c459126428c5786d.tar.gz
UXP-a744d76655f08a2812270da0c459126428c5786d.tar.lz
UXP-a744d76655f08a2812270da0c459126428c5786d.tar.xz
UXP-a744d76655f08a2812270da0c459126428c5786d.zip
Ensure the findbar target content browser follows the active tab.
Diffstat (limited to 'application')
-rw-r--r--application/palemoon/base/content/tabbrowser.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/application/palemoon/base/content/tabbrowser.xml b/application/palemoon/base/content/tabbrowser.xml
index 0390d165c..3de1c6be2 100644
--- a/application/palemoon/base/content/tabbrowser.xml
+++ b/application/palemoon/base/content/tabbrowser.xml
@@ -1041,6 +1041,11 @@
// Bug 666809 - SecurityUI support for e10s
var webProgress = this.mCurrentBrowser.webProgress;
var securityUI = this.mCurrentBrowser.securityUI;
+
+ // Update global findbar with new content browser
+ if (gFindBarInitialized) {
+ gFindBar.browser = newBrowser;
+ }
this._callProgressListeners(null, "onLocationChange",
[webProgress, null, loc, 0], true,