Commit e15b1f6e by Takumi Imai

Merge branch 'feature/1.0_check_web_dev_kdh_2' into 'feature/1.0_check_web_dev'

fixed login memory option

See merge request !85
parents 6f66a2eb f777747d
......@@ -46,7 +46,7 @@ LOGIN.saveLoginInfo = function () {
I18N.changeLanguage(lang);
var accountPath, loginId, password;
var chkRemember = $('#chkRemember').attr('checked');
var chkRemember = document.getElementById('chkRemember').checked;
accountPath = $('#txtAccPath').val();
loginId = $('#txtAccId').val();
password = $('#txtPassword').val();
......@@ -58,7 +58,7 @@ LOGIN.saveLoginInfo = function () {
ClientData.userInfo_accountPath_session(accountPath);
ClientData.userInfo_loginId_session(loginId);
ClientData.userInfo_userName(LOGIN.userInfo_userName);
if (chkRemember == 'checked') {
if (chkRemember) {
ClientData.userInfo_rememberLogin(true);
} else {
ClientData.userInfo_rememberLogin(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment