From e961dbaa38dc2a2a9abc620f1036d8d70d238cec Mon Sep 17 00:00:00 2001 From: raghunayyar Date: Fri, 11 Oct 2013 18:32:43 +0530 Subject: Shows The Eye permanently in the Confirm Password field in Personal Settings - fix #5167 --- core/js/jquery-showpassword.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'core/js') 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; }; -- cgit v1.2.3