mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 11:48:55 +00:00
Added a new config option for energy unit display (closes #2109)
This commit is contained in:
@@ -161,7 +161,7 @@ $('.input-group-qu').on('change', function(e)
|
||||
{
|
||||
$("#tare_weight_qu_info").text($("#qu_id_stock option:selected").text());
|
||||
$("#quick_consume_qu_info").text($("#qu_id_stock option:selected").text());
|
||||
$("#energy_qu_info").text($("#qu_id_stock option:selected").text());
|
||||
$("#energy_qu_info").text(Grocy.EnergyUnit + " / " + $("#qu_id_stock option:selected").text());
|
||||
|
||||
Grocy.FrontendHelpers.ValidateForm('product-form');
|
||||
});
|
||||
|
Reference in New Issue
Block a user