Commit d47d579a by vietdo

#13518 [AAT

1.5]大きさや色を様々なものにしたリッチテキストコンテンツをプレビュー表示すると、オブジェクト上では改行していないのに改行して表示されている
parent 60e618e4
...@@ -38,7 +38,7 @@ LOGIN.initialScreen = function() { ...@@ -38,7 +38,7 @@ LOGIN.initialScreen = function() {
}; };
//check Save Login Info //check Save Login Info
LOGIN.saveLoginInfo = function(paramLid, paramP, accountPath) { LOGIN.saveLoginInfo = function() {
var lang = I18N.getCurrentLanguage(); var lang = I18N.getCurrentLanguage();
// load language // load language
...@@ -49,15 +49,10 @@ LOGIN.saveLoginInfo = function(paramLid, paramP, accountPath) { ...@@ -49,15 +49,10 @@ LOGIN.saveLoginInfo = function(paramLid, paramP, accountPath) {
var accountPath, loginId, password; var accountPath, loginId, password;
var chkRemember = $('#chkRemember').attr('checked'); var chkRemember = $('#chkRemember').attr('checked');
if(paramLid != '' && paramP != ''){ accountPath = $('#txtAccPath').val();
accountPath = accountPath; loginId = $('#txtAccId').val();
loginId = paramLid; password = $('#txtPassword').val();
password = paramP;
} else {
accountPath = $('#txtAccPath').val();
loginId = $('#txtAccId').val();
password = $('#txtPassword').val();
}
var date = new Date(); var date = new Date();
ClientData.userInfo_accountPath(accountPath); ClientData.userInfo_accountPath(accountPath);
ClientData.userInfo_loginId(loginId); ClientData.userInfo_loginId(loginId);
...@@ -161,24 +156,18 @@ LOGIN.checkDialogValidation = function() { ...@@ -161,24 +156,18 @@ LOGIN.checkDialogValidation = function() {
}; };
//Login Process //Login Process
LOGIN.processLogin = function(paramLid, paramP) { LOGIN.processLogin = function() {
var accountPath = ""; var accountPath = "";
var loginId = ""; var loginId = "";
var password = ""; var password = "";
if(paramLid){ loginId = $('#txtAccId').val();
loginId = paramLid;
} else {
loginId = $('#txtAccId').val();
}
if(paramP){ password = $('#txtPassword').val();
password = paramP;
} else {
password = $('#txtPassword').val();
}
accountPath = $('#txtAccPath').val(); accountPath = $('#txtAccPath').val();
console.log("fdfdfd");
console.log(loginId);
var requireChangePassword = 0; var requireChangePassword = 0;
var skipPwdDate; var skipPwdDate;
...@@ -217,7 +206,7 @@ LOGIN.processLogin = function(paramLid, paramP) { ...@@ -217,7 +206,7 @@ LOGIN.processLogin = function(paramLid, paramP) {
if (data.result == 'success') { if (data.result == 'success') {
// Save retrieved info // Save retrieved info
LOGIN.saveLoginInfo(paramLid, paramP, accountPath); LOGIN.saveLoginInfo();
// set number new push message to 0 // set number new push message to 0
ClientData.pushInfo_newMsgNumber(0); ClientData.pushInfo_newMsgNumber(0);
...@@ -361,7 +350,6 @@ LOGIN.processLogin = function(paramLid, paramP) { ...@@ -361,7 +350,6 @@ LOGIN.processLogin = function(paramLid, paramP) {
$('#main-error-message').html(AVWEB.format(I18N.i18nText('msgLoginErrWrong'), 'E001')); $('#main-error-message').html(AVWEB.format(I18N.i18nText('msgLoginErrWrong'), 'E001'));
} }
$('#main-error-message').show(); $('#main-error-message').show();
$('#formlogin').show();
}); });
}; };
...@@ -969,37 +957,21 @@ LOGIN.ready = function(){ ...@@ -969,37 +957,21 @@ LOGIN.ready = function(){
}, LOGIN.timeWaitSplashScreen); }, LOGIN.timeWaitSplashScreen);
} }
else { else {
//doutor
var paramLid = COMMON.getUrlParam('lid', '');
var paramP = COMMON.getUrlParam('p', '');
//引数でアカウントパスを受け取ったらセットする //引数でアカウントパスを受け取ったらセットする
var urlPath = COMMON.getUrlParam('urlPath', '');
if( urlPath != '' ){
$('#txtAccPath').val(urlPath);
}
$('#normalUser').show(); $('#normalUser').show();
$('#formlogin').hide(); $('#formlogin').hide();
$('#logologin').animate({ "margin-top": 0 }, LOGIN.timeWaitSplashScreen, $('#logologin').animate({ "margin-top": 0 }, LOGIN.timeWaitSplashScreen,
function () { function () {
if(( paramLid == '' && paramP == '') || ( paramLid != '' && paramP != '' && LOGIN.login_error_flag == true)){ $('#formlogin').show();
$('#formlogin').show();
}
$('#menu-language').animate({ opacity: 1 }, LOGIN.timeWaitSplashScreen); $('#menu-language').animate({ opacity: 1 }, LOGIN.timeWaitSplashScreen);
if( paramLid != '' && paramP != '' && LOGIN.login_error_flag == false){ $('#formlogin').animate({ opacity: 1 }, LOGIN.timeWaitSplashScreen);
$('#formlogin').css("opacity","0");
} else {
$('#formlogin').animate({ opacity: 1 }, LOGIN.timeWaitSplashScreen);
}
$('.cnt_footer').animate({ opacity: 1 }, LOGIN.timeWaitSplashScreen); $('.cnt_footer').animate({ opacity: 1 }, LOGIN.timeWaitSplashScreen);
} }
); );
if( paramLid != '' && paramP != '' ){ console.log("fdsfs");
LOGIN.processLogin(paramLid, paramP); LOGIN.initLoginNormalUser();
} else {
$('#formlogin').show();
}
} }
}; };
//}); //});
......
...@@ -73,16 +73,6 @@ ...@@ -73,16 +73,6 @@
<article> <article>
<img src="./abvw/img/login/logo_login.png" width="200" class="clearboth" id="logologin"> <img src="./abvw/img/login/logo_login.png" width="200" class="clearboth" id="logologin">
<section id="formlogin" style="display:none;"> <section id="formlogin" style="display:none;">
<table id="msgdotoru" width="440" border="0" cellspacing="0" >
<tr>
<th width="100%" >ポータルサイトからログインしてください</th>
</tr>
</table>
<input type="hidden" id="txtAccPath" value="" />
<!--
<table width="440" border="0" cellspacing="0"> <table width="440" border="0" cellspacing="0">
<tr> <tr>
<th width="33%" class="lang" lang="txtLoginAccPath">アカウントパス</th> <th width="33%" class="lang" lang="txtLoginAccPath">アカウントパス</th>
...@@ -100,9 +90,7 @@ ...@@ -100,9 +90,7 @@
<p class="error lang" id="main-error-message" style="display:none;">パスワードまたはIDに誤りがあります</p> <p class="error lang" id="main-error-message" style="display:none;">パスワードまたはIDに誤りがあります</p>
<p class="memory"><input type="checkbox" id="chkRemember" /><label class="lang" lang="txtLoginPwdRbr" for="chkRemember">アカウントパスとログインIDを記憶する</label></p> <p class="memory"><input type="checkbox" id="chkRemember" /><label class="lang" lang="txtLoginPwdRbr" for="chkRemember">アカウントパスとログインIDを記憶する</label></p>
<a class="loginbtn lang" id="btnLogin" lang="dspLogin">ログイン</a> <a class="loginbtn lang" id="btnLogin" lang="dspLogin">ログイン</a>
-->
</section> </section>
</article> </article>
</div> </div>
</div> </div>
......
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