mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Unified product-/chore-/battery-card modal handling
This commit is contained in:
@@ -114,12 +114,6 @@ $(document).on('click', '.track-charge-cycle-button', function(e)
|
||||
);
|
||||
});
|
||||
|
||||
$(document).on("click", ".battery-name-cell", function(e)
|
||||
{
|
||||
Grocy.Components.BatteryCard.Refresh($(e.currentTarget).attr("data-battery-id"));
|
||||
$("#batteriesoverview-batterycard-modal").modal("show");
|
||||
});
|
||||
|
||||
$(document).on('click', '.battery-grocycode-label-print', function(e)
|
||||
{
|
||||
e.preventDefault();
|
||||
|
Reference in New Issue
Block a user