diff options
author | raghunayyar <me@iraghu.com> | 2013-10-11 18:32:43 +0530 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-10-12 12:42:23 +0200 |
commit | e961dbaa38dc2a2a9abc620f1036d8d70d238cec (patch) | |
tree | 4104e419122cad00860677d7fc8563d8988d816a /core/js/jquery-showpassword.js | |
parent | b9bfe319813811a7291fb35b54424988a5985245 (diff) | |
download | nextcloud-server-e961dbaa38dc2a2a9abc620f1036d8d70d238cec.tar.gz nextcloud-server-e961dbaa38dc2a2a9abc620f1036d8d70d238cec.zip |
Shows The Eye permanently in the Confirm Password field in Personal Settings - fix #5167
Diffstat (limited to 'core/js/jquery-showpassword.js')
-rw-r--r-- | core/js/jquery-showpassword.js | 6 |
1 files changed, 5 insertions, 1 deletions
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; }; |