From: raghunayyar Date: Fri, 11 Oct 2013 13:02:43 +0000 (+0530) Subject: Shows The Eye permanently in the Confirm Password field in Personal Settings - fix... X-Git-Tag: v6.0.0alpha2~5^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e961dbaa38dc2a2a9abc620f1036d8d70d238cec;p=nextcloud-server.git Shows The Eye permanently in the Confirm Password field in Personal Settings - fix #5167 --- diff --git a/core/css/styles.css b/core/css/styles.css index 1a521019d98..3e150152b56 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -413,6 +413,7 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } #personal-show + label { margin-top: 1em; margin-left: -3em; + display:inline !important; } #passwordbutton { margin-left: .5em; diff --git a/core/js/jquery-showpassword.js b/core/js/jquery-showpassword.js index e1737643b48..a4373ec82bf 100644 --- a/core/js/jquery-showpassword.js +++ b/core/js/jquery-showpassword.js @@ -38,7 +38,11 @@ 'tabindex' : $element.attr('tabindex'), 'autocomplete' : 'off' }); - + + if($element.attr('placeholder') !== undefined) { + $clone.attr('placeholder', $element.attr('placeholder')); + } + return $clone; };