mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
Bug 512402: Auto-select of URLBar is broken, r=gavin
This commit is contained in:
parent
5cf290fb75
commit
a603a47761
@ -136,15 +136,16 @@
|
||||
if (this._popupOpen)
|
||||
return;
|
||||
|
||||
BrowserUI.pushDialog(this);
|
||||
|
||||
this._input = aInput;
|
||||
this._input.select();
|
||||
|
||||
if (this.hidden)
|
||||
this.hidden = false;
|
||||
this.collapsed = false;
|
||||
this._popupOpen = true;
|
||||
|
||||
BrowserUI.pushDialog(this);
|
||||
|
||||
this.invalidate();
|
||||
]]></body>
|
||||
</method>
|
||||
|
@ -183,7 +183,7 @@ var BrowserUI = {
|
||||
return;
|
||||
|
||||
this._toolbarLocked--;
|
||||
if(!this._toolbarLocked)
|
||||
if (!this._toolbarLocked)
|
||||
document.getElementById("toolbar-moveable-container").top = "";
|
||||
},
|
||||
|
||||
@ -202,9 +202,7 @@ var BrowserUI = {
|
||||
// IME state to be set properly. Testing shows we only really need to
|
||||
// do this the first time.
|
||||
this._edit.inputField.blur();
|
||||
|
||||
this._edit.inputField.focus();
|
||||
this._edit.select();
|
||||
}
|
||||
else if (!aEdit && icons.getAttribute("mode") != "view") {
|
||||
icons.setAttribute("mode", "view");
|
||||
|
Loading…
Reference in New Issue
Block a user