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:
mozilla.mano%sent.com 2005-09-16 20:40:33 +00:00
parent 3775f5cc5c
commit a28e6df9f5

View File

@ -2056,7 +2056,8 @@ function URLBarFocusHandler(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;
} else {
gIgnoreFocus = true;