From f5faf14b6e0638d7cb3d5dd19313f1b303a4fef2 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 25bc2d086d58c..c8b61f538fb31 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 9859daea7d39d..74a0b6d30eaaf 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -215,12 +215,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 a3ea87a89c66a..1ab5b9e068ab2 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -129,7 +129,7 @@ placeholder="t('New password');?>" data-typetoggle="#personal-show" autocomplete="off" autocapitalize="off" autocorrect="off" /> - +