From 5b0cc0cc2f54fcba64fa11ee42a1536949988322 Mon Sep 17 00:00:00 2001 From: Julien Vaubourg Date: Mon, 28 Sep 2015 18:21:22 +0200 Subject: [PATCH] Fix UI error --- sources/public/js/custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }