From 3841bb1c07299165a3a70a1adb05eeab56ec6068 Mon Sep 17 00:00:00 2001 From: michag86 Date: Wed, 22 Jul 2015 18:42:46 +0200 Subject: assign error message to correct object fix for #17817 --- settings/js/personal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'settings/js') diff --git a/settings/js/personal.js b/settings/js/personal.js index 3745b1372ea..ac18f525809 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -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'); -- cgit v1.2.3