fix for #23527 - use onchange= to disable the password, not onclick

(and enable the password by default since onchange= is broken right now)
r=sspitzer
This commit is contained in:
alecf%netscape.com 2000-01-10 22:06:41 +00:00
Родитель 35b820bd2c
Коммит a48944a3a7
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -55,7 +55,7 @@ Rights Reserved.
<html:div>&savePasswordLabel.label;</html:div> <html:div>&savePasswordLabel.label;</html:div>
<html:div> <html:div>
<html:input type="checkbox" name="server.rememberPassword" <html:input type="checkbox" name="server.rememberPassword"
onclick="onSavePassword(event.target);" onchange="onSavePassword(event.target);"
id="server.rememberPassword"/> id="server.rememberPassword"/>
&savePasswordCheckbox.label; &savePasswordCheckbox.label;
</html:div> </html:div>
@ -63,7 +63,7 @@ Rights Reserved.
<html:div>&passwordDesc.label;</html:div> <html:div>&passwordDesc.label;</html:div>
<html:div> <html:div>
&passwordLabel.label; &passwordLabel.label;
<html:input type="password" disabled="true" <html:input type="password"
name="server.password" id="server.password"/> name="server.password" id="server.password"/>
</html:div> </html:div>
</html:div> </html:div>