assign error message to correct object

fix for  #17817
This commit is contained in:
michag86 2015-07-22 18:42:46 +02:00
parent f137f1a049
commit 3841bb1c07

View file

@ -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');