diff options
author | michag86 <micha_g@arcor.de> | 2015-07-22 18:42:46 +0200 |
---|---|---|
committer | michag86 <micha_g@arcor.de> | 2015-07-22 18:42:46 +0200 |
commit | 3841bb1c07299165a3a70a1adb05eeab56ec6068 (patch) | |
tree | d5973a5c3a060b704166eec7c126a966d85bd20c /settings | |
parent | f137f1a0493b0c7fb27893c8d2677af221908de3 (diff) | |
download | nextcloud-server-3841bb1c07299165a3a70a1adb05eeab56ec6068.tar.gz nextcloud-server-3841bb1c07299165a3a70a1adb05eeab56ec6068.zip |
assign error message to correct object
fix for #17817
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/personal.js | 4 |
1 files changed, 2 insertions, 2 deletions
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'); |