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

git-svn-id: svn://10.0.0.236/trunk@232897 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dolske%mozilla.com 2007-08-22 23:46:12 +00:00
parent e5eae148b7
commit a807fb695c
4 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -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();"/>

View File

@ -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>

View File

@ -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>