wallpaper part 2 for bug 390451 - Remembered passwords lost when changing Master Password. r=vlad, a=damons. MOZILLA_1_9_a7_BASE
authordolske@mozilla.com
Wed, 01 Aug 2007 18:04:04 -0700
changeset 4126 66a5c7bce7ee86a820d3c0d54fa07cb719be751c
parent 4125 f8352c035a1796bfbad9d31fa32928f49297203b
child 4127 6debdbad8fa5b2ede1244f669864638ecf49afe9
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
reviewersvlad, damons
bugs390451
milestone1.9a7pre
wallpaper part 2 for bug 390451 - Remembered passwords lost when changing Master Password. r=vlad, a=damons.
browser/components/preferences/security.js
--- a/browser/components/preferences/security.js
+++ b/browser/components/preferences/security.js
@@ -356,18 +356,18 @@ var gSecurityPane = {
    * the master password button to show, and enables/disables it as necessary.
    * The master password is controlled by various bits of NSS functionality, so
    * the UI for it can't be controlled by the normal preference bindings.
    */
   _initMasterPasswordUI: function ()
   {
     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;
   },
 
   /**
    * Returns true if the user has a master password set and false otherwise.
    */