mirror of
https://github.com/grocy/grocy.git
synced 2025-04-30 10:05:45 +00:00
Make sure to hide all tooltips before removing an element (fixes #260)
This commit is contained in:
parent
9f2481a6a8
commit
9e7d62b62d
@ -1262,3 +1262,6 @@ msgstr ""
|
|||||||
|
|
||||||
msgid "Products"
|
msgid "Products"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Marked task %s as completed on %s"
|
||||||
|
msgstr ""
|
||||||
|
@ -121,6 +121,7 @@ $(document).on('click', '.product-consume-button', function(e)
|
|||||||
{
|
{
|
||||||
$('#product-' + productId + '-row').fadeOut(500, function()
|
$('#product-' + productId + '-row').fadeOut(500, function()
|
||||||
{
|
{
|
||||||
|
$(this).tooltip("hide");
|
||||||
$(this).remove();
|
$(this).remove();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -78,6 +78,7 @@ $(document).on('click', '.do-task-button', function(e)
|
|||||||
{
|
{
|
||||||
$('#task-' + taskId + '-row').fadeOut(500, function ()
|
$('#task-' + taskId + '-row').fadeOut(500, function ()
|
||||||
{
|
{
|
||||||
|
$(this).tooltip("hide");
|
||||||
$(this).remove();
|
$(this).remove();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -129,6 +130,7 @@ $(document).on('click', '.delete-task-button', function (e)
|
|||||||
{
|
{
|
||||||
$('#task-' + objectId + '-row').fadeOut(500, function ()
|
$('#task-' + objectId + '-row').fadeOut(500, function ()
|
||||||
{
|
{
|
||||||
|
$(this).tooltip("hide");
|
||||||
$(this).remove();
|
$(this).remove();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user