зеркало из https://github.com/mozilla/gecko-dev.git
Bug 130462 "null" or "" is displayed in drop-down search text in URL bar
patch by ajschult@verizon.net r=jag sr=neil
This commit is contained in:
Родитель
4c532a892d
Коммит
f4dc303882
|
@ -300,7 +300,7 @@
|
|||
<field name="mNeedToComplete">false</field>
|
||||
<field name="mTransientValue">false</field>
|
||||
<field name="mView">null</field>
|
||||
<field name="currentSearchString">null</field>
|
||||
<field name="currentSearchString">""</field>
|
||||
<field name="ignoreInputEvent">false</field>
|
||||
<field name="oninit">null</field>
|
||||
<field name="ontextcommand">null</field>
|
||||
|
@ -973,6 +973,10 @@
|
|||
{
|
||||
// up/down keys while menu is closed will open menu
|
||||
if (!this.mMenuOpen) {
|
||||
if (this.currentSearchString != this.value) {
|
||||
this.processInput();
|
||||
return true;
|
||||
}
|
||||
if (!this.view.rowCount && !this.alwaysOpenPopup)
|
||||
return false;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче