parent
f137f1a049
commit
3841bb1c07
1 changed files with 2 additions and 2 deletions
|
@ -194,9 +194,9 @@ $(document).ready(function () {
|
|||
$('#password-error').removeClass('inlineblock').addClass('hidden');
|
||||
} else {
|
||||
if (typeof(data.data) !== "undefined") {
|
||||
$('#passworderror').html(data.data.message);
|
||||
$('#password-error').html(data.data.message);
|
||||
} else {
|
||||
$('#passworderror').html(t('Unable to change password'));
|
||||
$('#password-error').html(t('Unable to change password'));
|
||||
}
|
||||
// Hide a possible successmsg and show errormsg
|
||||
$('#password-changed').removeClass('inlineblock').addClass('hidden');
|
||||
|
|
Loading…
Reference in a new issue