mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 394349 - use textbox.editor.transactionManager.clear() instead of textbox.editor.enableUndo(true/false) p=Ryan Jones <sciguyryan@gmail.com> r=gavin
This commit is contained in:
parent
5a82e02f3f
commit
3464346525
@ -157,8 +157,7 @@ Sanitizer.prototype = {
|
|||||||
var searchBar = windows.getNext().document.getElementById("searchbar");
|
var searchBar = windows.getNext().document.getElementById("searchbar");
|
||||||
if (searchBar) {
|
if (searchBar) {
|
||||||
searchBar.value = "";
|
searchBar.value = "";
|
||||||
searchBar.textbox.editor.enableUndo(false);
|
searchBar.textbox.editor.transactionManager.clear();
|
||||||
searchBar.textbox.editor.enableUndo(true);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user