Bug 308819 - Clicking either on the live bookmark button/menu or on the padlock button focuses the location bar if clickSelectsAll is enabled. r=mconnor.
git-svn-id: svn://10.0.0.236/trunk@180435 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3775f5cc5c
commit
a28e6df9f5
@ -2056,7 +2056,8 @@ function URLBarFocusHandler(aEvent, aElt)
|
|||||||
|
|
||||||
function URLBarMouseDownHandler(aEvent, aElt)
|
function URLBarMouseDownHandler(aEvent, aElt)
|
||||||
{
|
{
|
||||||
if (aElt.hasAttribute("focused")) {
|
if (aElt.hasAttribute("focused") ||
|
||||||
|
aEvent.target.id == "lock-icon" || aEvent.target.id == "feed-button") {
|
||||||
gIgnoreClick = true;
|
gIgnoreClick = true;
|
||||||
} else {
|
} else {
|
||||||
gIgnoreFocus = true;
|
gIgnoreFocus = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user