[Pkg-owncloud-commits] [owncloud] 93/131: assign error message to correct object

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 15:58:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v8.1.1
in repository owncloud.

commit 74e0b6f1e567fd97e37e598a792d446467bb3b3b
Author: michag86 <micha_g at arcor.de>
Date:   Wed Jul 22 18:42:46 2015 +0200

    assign error message to correct object
    
    fix for  #17817
---
 settings/js/personal.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/settings/js/personal.js b/settings/js/personal.js
index 3745b13..ac18f52 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');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list