mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
97653 - null appears as a visible value after pressing keyboard-up, r=blake, sr=hyatt
This commit is contained in:
parent
108729b474
commit
d9c00bd886
@ -910,13 +910,15 @@
|
||||
if (selected != null) {
|
||||
if (this.getSessionStatusAt(selected) ==
|
||||
Components.interfaces.nsIAutoCompleteStatus.failureItems) {
|
||||
this.value = this.currentSearchString;
|
||||
if (this.currentSearchString)
|
||||
this.value = this.currentSearchString;
|
||||
} else {
|
||||
this.value = this.getResultValueAt(selected);
|
||||
}
|
||||
this.mTransientValue = true;
|
||||
} else {
|
||||
this.value = this.currentSearchString;
|
||||
if (this.currentSearchString)
|
||||
this.value = this.currentSearchString;
|
||||
this.mTransientValue = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user