...
|
...
|
@@ -71,11 +71,6 @@ validateResult = [ |
|
|
id: 'pwd',
|
|
|
message: '',
|
|
|
status: false
|
|
|
},
|
|
|
{
|
|
|
id: 'repwd',
|
|
|
message: '',
|
|
|
status: false
|
|
|
}
|
|
|
];
|
|
|
|
...
|
...
|
@@ -380,7 +375,7 @@ exports.init = function(page) { |
|
|
passI++;
|
|
|
}
|
|
|
}
|
|
|
if (passI === 4) {
|
|
|
if (passI === validateResult.length) {
|
|
|
$registerBtn.removeClass('disable').removeAttr('disabled');
|
|
|
}
|
|
|
} else {
|
...
|
...
|
@@ -421,7 +416,7 @@ exports.init = function(page) { |
|
|
|
|
|
}
|
|
|
|
|
|
if (statusLen === 4 && !$('#agree-terms').attr('notchecked')) {
|
|
|
if (statusLen === validateResult.length && !$('#agree-terms').attr('notchecked')) {
|
|
|
$registerBtn.removeClass('disable').removeAttr('disabled');
|
|
|
} else {
|
|
|
$registerBtn.addClass('disable').attr('disabled', 'disabled');
|
...
|
...
|
|