|
|
@ -38,11 +38,9 @@ define([
|
|
|
|
var $confirm = $('#password-confirm');
|
|
|
|
var $confirm = $('#password-confirm');
|
|
|
|
|
|
|
|
|
|
|
|
if (sessionStorage.login_user) {
|
|
|
|
if (sessionStorage.login_user) {
|
|
|
|
|
|
|
|
delete sessionStorage.login_user;
|
|
|
|
$uname.val(sessionStorage.login_user);
|
|
|
|
$uname.val(sessionStorage.login_user);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (sessionStorage.login_pass) {
|
|
|
|
|
|
|
|
$passwd.val(sessionStorage.login_pass);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ $uname, $passwd, $confirm]
|
|
|
|
[ $uname, $passwd, $confirm]
|
|
|
|
.some(function ($el) { if (!$el.val()) { $el.focus(); return true; } });
|
|
|
|
.some(function ($el) { if (!$el.val()) { $el.focus(); return true; } });
|
|
|
|