mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Bug 350675: fix the searchbar's value setter to behave correctly (gray text was being removed incorrectly, setting to a non-empty value didn't remove the gray styling), r=mano
This commit is contained in:
parent
e3584e84ab
commit
8f958cf715
@ -158,7 +158,7 @@ Sanitizer.prototype = {
|
||||
while (windows.hasMoreElements()) {
|
||||
var searchBar = windows.getNext().document.getElementById("searchbar");
|
||||
if (searchBar) {
|
||||
searchBar.textbox.value = "";
|
||||
searchBar.value = "";
|
||||
searchBar.textbox.editor.enableUndo(false);
|
||||
searchBar.textbox.editor.enableUndo(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user