mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Unified product-/chore-/battery-card modal handling
This commit is contained in:
@@ -229,12 +229,6 @@ $(document).on('click', '.product-open-button', function(e)
|
||||
);
|
||||
});
|
||||
|
||||
$(document).on("click", ".product-name-cell", function(e)
|
||||
{
|
||||
Grocy.Components.ProductCard.Refresh($(e.currentTarget).attr("data-product-id"));
|
||||
$("#stockoverview-productcard-modal").modal("show");
|
||||
});
|
||||
|
||||
function RefreshStatistics()
|
||||
{
|
||||
Grocy.Api.Get('stock',
|
||||
|
Reference in New Issue
Block a user