summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/vendor/strengthify/jquery.strengthify.js2
-rw-r--r--settings/js/personal.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/vendor/strengthify/jquery.strengthify.js b/core/vendor/strengthify/jquery.strengthify.js
index 21f5fa82956..4fcc4d7c7c4 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 33746d22aca..eef669eeb73 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -188,7 +188,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');