mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
???
This commit is contained in:
parent
53812aa45d
commit
d009cbf3a5
|
@ -284,6 +284,21 @@ $(document).ready( function() {
|
|||
$($(this).data("target")+' .modal-header h3').html($(this).data("modal-title"));
|
||||
});
|
||||
|
||||
$('body').on('click', '.show-hide-password a', function(ev){
|
||||
ev.preventDefault();
|
||||
// console.log($(this).closest('input'));
|
||||
// console.log($(ev.target).parent().parent().children('input'));
|
||||
if($('.show-hide-password input').attr("type") == "text"){
|
||||
$('.show-hide-password input').attr('type', 'password');
|
||||
$('.show-hide-password i').addClass( "fa-eye-slash" );
|
||||
$('.show-hide-password i').removeClass( "fa-eye" );
|
||||
}else if($('.show-hide-password input').attr("type") == "password"){
|
||||
$('.show-hide-password input').attr('type', 'text');
|
||||
$('.show-hide-password i').removeClass( "fa-eye-slash" );
|
||||
$('.show-hide-password i').addClass( "fa-eye" );
|
||||
}
|
||||
});
|
||||
|
||||
// $('body').on('touchstart.dropdown', '.dropdown-menu', function (e) { e.stopPropagation(); });
|
||||
|
||||
initMost();
|
||||
|
|
Loading…
Reference in New Issue
Block a user