mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 530495 - textbox.xml throw an error (line 175) if the textbox.inputField didn't exist (r=neil)
This commit is contained in:
parent
c7d187e05b
commit
0a382c6370
@ -171,9 +171,9 @@
|
||||
|
||||
// Hide the emptytext for a bit, in case the textbox will be focused subsequently
|
||||
this.inputField.setAttribute("emptytextdelay", "true");
|
||||
setTimeout(function (textbox) {
|
||||
textbox.inputField.removeAttribute("emptytextdelay");
|
||||
}, 100, this);
|
||||
setTimeout(function (input) {
|
||||
input.removeAttribute("emptytextdelay");
|
||||
}, 100, this.inputField);
|
||||
|
||||
try {
|
||||
this.editor.transactionManager.beginBatch();
|
||||
|
Loading…
Reference in New Issue
Block a user