diff options
author | Pale Moon <git-repo@palemoon.org> | 2014-06-09 14:23:43 +0200 |
---|---|---|
committer | Pale Moon <git-repo@palemoon.org> | 2014-06-09 14:23:43 +0200 |
commit | 6b1cf9e3b29f324f49cdf139978f30e4d775724f (patch) | |
tree | a4c2cf98e135ae60ad5ff3e7856d076b9a656869 /browser/base/content | |
parent | e1cfd6d3a8cb6253a401c578ddffe3f8f4586462 (diff) | |
download | palemoon-gre-6b1cf9e3b29f324f49cdf139978f30e4d775724f.tar.gz |
Prevent address bar from changing its highlighting if the focus shift is on address bar elements other than the input field (e.g. plugin/password tag)
Diffstat (limited to 'browser/base/content')
-rw-r--r-- | browser/base/content/urlbarBindings.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/browser/base/content/urlbarBindings.xml b/browser/base/content/urlbarBindings.xml index 1cec6d20f..cfeef1d6b 100644 --- a/browser/base/content/urlbarBindings.xml +++ b/browser/base/content/urlbarBindings.xml @@ -696,6 +696,8 @@ ]]></handler> <handler event="blur"><![CDATA[ + if (event.originalTarget != this.inputField) + return; this._clearNoActions(); this.formatValue(); ]]></handler> @@ -726,6 +728,8 @@ ]]></handler> <handler event="focus" phase="capturing"><![CDATA[ + if (event.originalTarget != this.inputField) + return; this._hideURLTooltip(); this._clearFormatting(); ]]></handler> |