[Pkg-owncloud-commits] [owncloud] 17/129: Properly hide strengthify after password change

David Prévot taffit at moszumanska.debian.org
Thu Nov 5 01:04:18 UTC 2015


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

taffit pushed a commit to branch stable8
in repository owncloud.

commit ba46cfed3a8fe27d33e6946207724dab7e8265bc
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Wed Oct 7 15:58:37 2015 +0200

    Properly hide strengthify after password change
---
 core/vendor/strengthify/jquery.strengthify.js | 2 +-
 settings/js/personal.js                       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/vendor/strengthify/jquery.strengthify.js b/core/vendor/strengthify/jquery.strengthify.js
index 21f5fa8..4fcc4d7 100644
--- a/core/vendor/strengthify/jquery.strengthify.js
+++ b/core/vendor/strengthify/jquery.strengthify.js
@@ -58,7 +58,7 @@
 			dataType: 'script',
 			url: options.zxcvbn
 		}).done(function() {
-			me.bind('keyup input', function() {
+			me.bind('keyup input change', function() {
 				var password = $(this).val(),
 					// hide strengthigy if no input is provided
 					opacity = (password === '') ? 0 : 1,
diff --git a/settings/js/personal.js b/settings/js/personal.js
index acc1478..3439eba 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -189,7 +189,7 @@ $(document).ready(function () {
 			$.post(OC.generateUrl('/settings/personal/changepassword'), post, function (data) {
 				if (data.status === "success") {
 					$('#pass1').val('');
-					$('#pass2').val('');
+					$('#pass2').val('').change();
 					// Hide a possible errormsg and show successmsg
 					$('#password-changed').removeClass('hidden').addClass('inlineblock');
 					$('#password-error').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