mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00: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
e66219b553
commit
adf2498ce3
@ -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