cfoe
2012-05-22 0ae667e6cfdd1bcc85bacf85cd93a84f99fa88f8
interface/web/js/scrigo.js.php
@@ -555,7 +555,24 @@
   var newPWField = oldPWField.clone();
   newPWField.attr('type', 'text').attr('id', 'tmp'+passwordFieldID).insertBefore(oldPWField);
   oldPWField.remove();
   newPWField.attr('id', passwordFieldID).val(password(10, true)).trigger('keyup');
   newPWField.attr('id', passwordFieldID).val(password(10, false)).trigger('keyup');
}
function checkPassMatch(pwField1,pwField2){
    var rpass = jQuery('#'+pwField2).val();
    var npass = jQuery('#'+pwField1).val();
    if(npass!= rpass) {
      jQuery('#confirmpasswordOK').hide();
        jQuery('#confirmpasswordError').show();
      jQuery('button.positive').attr('disabled','disabled');
      jQuery('.tabbox_tabs ul li a').attr('onclick','return false;');
        return false;
    } else {
      jQuery('#confirmpasswordError').hide();
        jQuery('#confirmpasswordOK').show();
      jQuery('button.positive').removeAttr('disabled');
      jQuery('.tabbox_tabs ul li a').removeAttr('onclick');
    }
}
function getRandomInt(min, max){