Fix bug 158690, 'textbox .readonly property not implemented correctly'. Fix by djudd@seachange.com (David Judd), r=caillon, sr=blake.

git-svn-id: svn://10.0.0.236/trunk@133611 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jrgm%netscape.com 2002-11-12 01:55:58 +00:00
parent e444ceb885
commit e42052df34

View File

@ -47,8 +47,8 @@
<property name="size" onset="this.inputField.size = val; return val;"
onget="return this.inputField.size;"/>
<property name="readonly" onset="this.inputField.readonly = val;
if (val) this.setAttribute('disabled', 'true');
else this.removeAttribute('disabled'); return val;"
if (val) this.setAttribute('readonly', 'true');
else this.removeAttribute('readonly'); return val;"
onget="return this.inputField.readonly;"/>
<method name="select">