Port fix for bug 277657, textbox.maxLength doesn't work. Patch by gautheri@noos.fr, r=mconnor,me.

This commit is contained in:
bryner%brianryner.com 2005-03-09 00:04:02 +00:00
Родитель 0a97d0fe70
Коммит 5cbf1ab46e
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -47,8 +47,8 @@
onget="return this.inputField.value;"/>
<property name="type" onset="this.inputField.type = val; return val;"
onget="return this.inputField.type;"/>
<property name="maxLength" onset="this.inputField.maxlength = val; return val;"
onget="return this.inputField.maxlength;"/>
<property name="maxLength" onset="this.inputField.maxLength = val; return val;"
onget="return this.inputField.maxLength;"/>
<property name="disabled" onset="this.inputField.disabled = val;
if (val) this.setAttribute('disabled', 'true');
else this.removeAttribute('disabled'); return val;"