From b30908ba5d2d2425b32bfc3cc4db081f10de1e17 Mon Sep 17 00:00:00 2001 From: Raghu Nayyar Date: Thu, 1 Sep 2016 12:14:48 +0200 Subject: [PATCH] Removes tipsy when password verification is going on --- core/css/styles.css | 5 +++-- settings/js/personal.js | 2 ++ settings/templates/personal.php | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/core/css/styles.css b/core/css/styles.css index efc49e02a1..60b325111f 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -490,8 +490,9 @@ label.infield { } #personal-show + label { height: 14px; - margin-top: 14px; - margin-left: -36px; + margin-top: -25px; + left: 295px; + display: block; } #passwordbutton { margin-left: .5em; diff --git a/settings/js/personal.js b/settings/js/personal.js index e2bfcbe3ad..49bd0d6823 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -221,12 +221,14 @@ $(document).ready(function () { $('#passworderror').hide(); $("#passwordbutton").attr('disabled', 'disabled'); $("#passwordbutton").after(""); + $(".personal-show-label").hide(); // Ajax foo $.post(OC.generateUrl('/settings/personal/changepassword'), post, function (data) { if (data.status === "success") { $(".password-loading").remove(); $("#passwordbutton").after(""); removeloader(); + $(".personal-show-label").show(); $('#pass1').val(''); $('#pass2').val('').change(); OC.msg.finishedSaving('#password-error-msg', data); diff --git a/settings/templates/personal.php b/settings/templates/personal.php index bbb47f48ba..b7bb0c8bfc 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -129,7 +129,7 @@ if($_['passwordChangeSupported']) { placeholder="t('New password');?>" data-typetoggle="#personal-show" autocomplete="off" autocapitalize="off" autocorrect="off" /> - +