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