Revert wallpaper from Bug 390451: Remembered passwords lost when changing Master Password. r=gavin

This commit is contained in:
dolske@mozilla.com 2007-08-22 16:46:12 -07:00
Родитель 9a239a7686
Коммит d30bd593f7
4 изменённых файлов: 7 добавлений и 7 удалений

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

@ -361,8 +361,8 @@ var gSecurityPane = {
{
var noMP = !this._masterPasswordSet();
//var button = document.getElementById("changeMasterPassword");
//button.disabled = noMP;
var button = document.getElementById("changeMasterPassword");
button.disabled = noMP;
var checkbox = document.getElementById("useMasterPassword");
checkbox.checked = !noMP;

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

@ -143,11 +143,11 @@
preference="pref.privacy.disable_button.view_passwords_exceptions"/>
</hbox>
<hbox id="masterPasswordBox">
<checkbox id="useMasterPassword" flex="1" disabled="true"
<checkbox id="useMasterPassword" flex="1"
oncommand="gSecurityPane.updateMasterPasswordButton();"
label="&useMasterPassword.label;"
accesskey="&useMasterPassword.accesskey;"/>
<button id="changeMasterPassword" disabled="true"
<button id="changeMasterPassword"
label="&changeMasterPassword.label;"
accesskey="&changeMasterPassword.accesskey;"
oncommand="gSecurityPane.changeMasterPassword();"/>

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

@ -80,12 +80,12 @@
</row>
<row>
<label control="pw1" value="&setPassword.newPassword.label;"/>
<textbox id="pw1" type="password" disabled="true"
<textbox id="pw1" type="password"
oninput="setPasswordStrength(); checkPasswords();"/>
</row>
<row>
<label control="pw2" value="&setPassword.reenterPassword.label;"/>
<textbox id="pw2" type="password" disabled="true" oninput="checkPasswords();"/>
<textbox id="pw2" type="password" oninput="checkPasswords();"/>
</row>
</rows>
</grid>

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

@ -34,7 +34,7 @@
<hbox align="center">
<label control="password" value="&setPassword.oldPassword.label;"/>
<textbox id="password" type="password" disabled="true"
<textbox id="password" type="password"
oninput="gRemovePasswordDialog.validateInput();"
xhtml2:role="textfield" aaa:describedby="warnings"/>
</hbox>