зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
e3584e84ab
Коммит
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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче