Destroy branch delete tooltip when row is removed

Closes #19528
This commit is contained in:
Phil Hughes 2016-07-06 18:19:43 +01:00
parent 12e9df3270
commit 52c6102460
1 changed files with 3 additions and 1 deletions

View File

@ -153,7 +153,9 @@
});
});
$('.remove-row').bind('ajax:success', function() {
return $(this).closest('li').fadeOut();
$(this).tooltip('destroy')
.closest('li')
.fadeOut();
});
$('.js-remove-tr').bind('ajax:before', function() {
return $(this).hide();