Make sure to hide all tooltips before removing an element (fixes #260)

This commit is contained in:
Bernd Bestel 2019-06-08 16:39:35 +02:00
parent 9f2481a6a8
commit 9e7d62b62d
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
3 changed files with 6 additions and 0 deletions

View File

@ -1262,3 +1262,6 @@ msgstr ""
msgid "Products"
msgstr ""
msgid "Marked task %s as completed on %s"
msgstr ""

View File

@ -121,6 +121,7 @@ $(document).on('click', '.product-consume-button', function(e)
{
$('#product-' + productId + '-row').fadeOut(500, function()
{
$(this).tooltip("hide");
$(this).remove();
});
}

View File

@ -78,6 +78,7 @@ $(document).on('click', '.do-task-button', function(e)
{
$('#task-' + taskId + '-row').fadeOut(500, function ()
{
$(this).tooltip("hide");
$(this).remove();
});
}
@ -129,6 +130,7 @@ $(document).on('click', '.delete-task-button', function (e)
{
$('#task-' + objectId + '-row').fadeOut(500, function ()
{
$(this).tooltip("hide");
$(this).remove();
});
},