src/org/openbravo/erpCommon/security/Login.html
changeset 28802 25d249e69d3f
parent 28797 99dee8bbab26
child 28804 5970284b4e82
--- a/src/org/openbravo/erpCommon/security/Login.html	Tue Feb 09 09:45:56 2016 +0100
+++ b/src/org/openbravo/erpCommon/security/Login.html	Fri Feb 12 11:41:37 2016 +0100
@@ -238,8 +238,10 @@
       document.getElementById('resetPassword').value=result.resetPassword;
       document.getElementById('user').value = '';
       document.getElementById('user').type = 'password';
-      document.getElementById('userlabel').innerHTML = 'New Password';
-      document.getElementById('passwordlabel').innerHTML = 'Confirm Password';
+      document.getElementById('userlabel').style.display = 'none';
+      document.getElementById('passwordlabel').style.display = 'none';
+      document.getElementById('newpasswordlabel').style.display = '';
+      document.getElementById('confirmpasswordlabel').style.display = '';
     }
     if (shouldContinue) {
       try {
@@ -470,12 +472,18 @@
               <dt>
                 <label for="user" class="LabelText Login_LabelText" id="userlabel" >User Name</label>
               </dt>
+              <dt>
+                <label for="user" class="LabelText Login_LabelText" id="newpasswordlabel" style="display:none;">New Password</label>
+              </dt>
               <dd>
                 <input class="dojoValidateValid Login_TextBox" type="text" maxlength="60" name="user" id="user" />
               </dd>
               <dt>
                 <label for="password" class="LabelText Login_LabelText" id="passwordlabel" >Password</label>
               </dt>
+              <dt>
+                <label for="password" class="LabelText Login_LabelText" id="confirmpasswordlabel" style="display:none;">Confirm Password</label>
+              </dt>
               <dd>
                 <input class="dojoValidateValid Login_TextBox" type="password" maxlength="40" name="password" id="password" />
               </dd>