зеркало из https://github.com/mozilla/gecko-dev.git
Bug 413836 - Opening and then closing a new window with urlbar focused breaks the urlbar. r=gavin, b-ff3=beltzner. Fixes Bug 426525 - Broken auto-complete, nsIAutoCompleteController.input failure
This commit is contained in:
Родитель
0e84a92881
Коммит
56f5967e96
|
@ -140,8 +140,9 @@
|
|||
}
|
||||
|
||||
// Make sure to break the cycle from _texbox to us. Otherwise we leak
|
||||
// the world.
|
||||
this._textbox.mController.input = null;
|
||||
// the world. But make sure it's actually pointing to us.
|
||||
if (this._textbox.mController.input == this)
|
||||
this._textbox.mController.input = null;
|
||||
]]></destructor>
|
||||
|
||||
<field name="_stringBundle">document.getAnonymousElementByAttribute(this,
|
||||
|
|
|
@ -416,9 +416,6 @@
|
|||
if (aEvent.getPreventDefault())
|
||||
return false;
|
||||
|
||||
// Make sure we have the controller before handling key presses
|
||||
this.attachController();
|
||||
|
||||
var cancel = false;
|
||||
|
||||
// Catch any keys that could potentially move the caret. Ctrl can be
|
||||
|
|
Загрузка…
Ссылка в новой задаче