summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authormichag86 <micha_g@arcor.de>2015-07-22 18:42:46 +0200
committermichag86 <micha_g@arcor.de>2015-07-22 18:42:46 +0200
commit3841bb1c07299165a3a70a1adb05eeab56ec6068 (patch)
treed5973a5c3a060b704166eec7c126a966d85bd20c /settings
parentf137f1a0493b0c7fb27893c8d2677af221908de3 (diff)
downloadnextcloud-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.js4
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');