Commit a7db59c4 by Kim Eunchul

#29682 【Biz Web 1.9.0】パスワード変更時のエラーメッセージ表現が適切でない

parent 2ecf2acf
...@@ -367,7 +367,8 @@ LOGIN.changePasswordProcess = function() { ...@@ -367,7 +367,8 @@ LOGIN.changePasswordProcess = function() {
} }
}, function(xhr, b, c) { }, function(xhr, b, c) {
if (xhr.responseText && xhr.status != 0) { if (xhr.responseText && xhr.status != 0) {
$('#dialog-error-message').html(JSON.parse(xhr.responseText).errorMessage); //$('#dialog-error-message').html(JSON.parse(xhr.responseText).errorMessage);
$('#dialog-error-message').html(I18N.i18nText('msgPwdOldWrong'));
$('#dialog-error-message').show(); $('#dialog-error-message').show();
} else { } else {
// Show systemerror // Show systemerror
......
...@@ -834,11 +834,13 @@ SETTINGS.avwCmsApi_passwordChange_success = function(data) { ...@@ -834,11 +834,13 @@ SETTINGS.avwCmsApi_passwordChange_success = function(data) {
SETTINGS.avwCmsApi_passwordChange_fail = function(xhr, b, c) { SETTINGS.avwCmsApi_passwordChange_fail = function(xhr, b, c) {
if (xhr.responseText && xhr.status != 0) { if (xhr.responseText && xhr.status != 0) {
/* show error messages */ /* show error messages */
var msgError = $('#dialog-error-message'); //var msgError = $('#dialog-error-message');
//msgError.html(I18N.i18nText('msgPwdChangeNG')); //msgError.html(I18N.i18nText('msgPwdChangeNG'));
msgError.html(JSON.parse(xhr.responseText).errorMessage); //msgError.html(JSON.parse(xhr.responseText).errorMessage);
msgError.show(); //msgError.show();
$('#dialog-error-message').html(I18N.i18nText('msgPwdOldWrong'));
$('#dialog-error-message').show();
} }
else { else {
AVWEB.showSystemError(); AVWEB.showSystemError();
......
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