зеркало из https://github.com/mozilla/pjs.git
Bug 416379 - "correct the numberbox text field's focused setting of bug 409388" [p=twanno@lycos.nl (Teune van Steeg) r=Enn a1.9=schrep]
This commit is contained in:
Родитель
5898fc7862
Коммит
fe8bee78d6
|
@ -14,7 +14,7 @@
|
|||
</resources>
|
||||
|
||||
<content>
|
||||
<xul:hbox class="textbox-input-box numberbox-input-box" flex="1" xbl:inherits="context,disabled">
|
||||
<xul:hbox class="textbox-input-box numberbox-input-box" flex="1" xbl:inherits="context,disabled,focused">
|
||||
<html:input class="numberbox-input textbox-input" flex="1" anonid="input"
|
||||
xbl:inherits="onfocus,onblur,value,type,maxlength,disabled,size,readonly,tabindex,accesskey"/>
|
||||
</xul:hbox>
|
||||
|
@ -293,14 +293,6 @@
|
|||
this._validateValue(newval, false);
|
||||
}
|
||||
</handler>
|
||||
|
||||
<handler event="focus" phase="capturing">
|
||||
this.inputField.parentNode.setAttribute('focused', 'true');
|
||||
</handler>
|
||||
|
||||
<handler event="blur" phase="capturing">
|
||||
this.inputField.parentNode.removeAttribute('focused');
|
||||
</handler>
|
||||
</handlers>
|
||||
|
||||
</binding>
|
||||
|
|
Загрузка…
Ссылка в новой задаче