зеркало из https://github.com/mozilla/gecko-dev.git
Bug 427291: Multiple focus events fired when clicking XUL textbox (focus child html:input directly rather than xul:textbox), r=mano
This commit is contained in:
Родитель
80d3ee2d0b
Коммит
e3842d8995
|
@ -277,7 +277,7 @@
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
if (!this.mIgnoreClick && this.clickSelectsAll &&
|
if (!this.mIgnoreClick && this.clickSelectsAll &&
|
||||||
this.inputField.selectionStart == this.inputField.selectionEnd) {
|
this.inputField.selectionStart == this.inputField.selectionEnd) {
|
||||||
this.focus();
|
this.inputField.focus()
|
||||||
this.editor.selectAll();
|
this.editor.selectAll();
|
||||||
}
|
}
|
||||||
]]>
|
]]>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче