diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-01 10:18:29 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-01 10:18:29 +0100 |
commit | f48ea593ebdc434d5209f79d18ac150bd2bca164 (patch) | |
tree | bf703e8148092d258d9173e4518f274891ccfc1c /settings | |
parent | f1bbc9a962acf439dab11f8f99669d1e3fc5a0c3 (diff) | |
parent | 3ea654d2d4bb062faac00accd1c53adc4ddd270d (diff) | |
download | nextcloud-server-f48ea593ebdc434d5209f79d18ac150bd2bca164.tar.gz nextcloud-server-f48ea593ebdc434d5209f79d18ac150bd2bca164.zip |
Merge pull request #20850 from owncloud/use-text-instead-of-html
Use .text instead of .html
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/personal.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js index c9280d31353..8362adac2a6 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -195,9 +195,9 @@ $(document).ready(function () { $('#password-error').removeClass('inlineblock').addClass('hidden'); } else { if (typeof(data.data) !== "undefined") { - $('#password-error').html(data.data.message); + $('#password-error').text(data.data.message); } else { - $('#password-error').html(t('Unable to change password')); + $('#password-error').text(t('Unable to change password')); } // Hide a possible successmsg and show errormsg $('#password-changed').removeClass('inlineblock').addClass('hidden'); @@ -226,7 +226,7 @@ $(document).ready(function () { location.reload(); } else { - $('#passworderror').html(data.data.message); + $('#passworderror').text(data.data.message); } }); return false; |