]> source.dussan.org Git - nextcloud-server.git/commitdiff
Shows The Eye permanently in the Confirm Password field in Personal Settings - fix...
authorraghunayyar <me@iraghu.com>
Fri, 11 Oct 2013 13:02:43 +0000 (18:32 +0530)
committerMorris Jobke <morris.jobke@gmail.com>
Sat, 12 Oct 2013 10:42:23 +0000 (12:42 +0200)
core/css/styles.css
core/js/jquery-showpassword.js

index 1a521019d98c68734c6d87c99794eec05fb146a0..3e150152b561267590e2f54ce8a3baf9497cb055 100644 (file)
@@ -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;
index e1737643b484e3055fc90ce42119658f006d12ca..a4373ec82bf73c4c4fbb2e086d0e3e5b33cc6dcd 100644 (file)
                                        'tabindex'      :       $element.attr('tabindex'),
                                        'autocomplete'  :       'off'
                                });
-                                       
+
+                               if($element.attr('placeholder') !== undefined) {
+                                       $clone.attr('placeholder', $element.attr('placeholder'));
+                               }
+
                                return $clone;
                        
                        };