зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
35b820bd2c
Коммит
a48944a3a7
|
@ -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>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче