diff --git a/sources/public/js/custom.js b/sources/public/js/custom.js index 7c9fced..3e33836 100644 --- a/sources/public/js/custom.js +++ b/sources/public/js/custom.js @@ -47,7 +47,7 @@ $(document).ready(function() { if($(choosertxtid).hasClass('btn-danger') != $('#crt_client_choosertxt').hasClass('btn-danger')) { $('#crt_client_deletebtn').click(); } - } else { + } else if($(this).attr('id').search('_ta') < 0) { if($(choosertxtid).hasClass('btn-danger') != $('#crt_client_key_choosertxt').hasClass('btn-danger')) { $('#crt_client_key_deletebtn').click(); }