Sat, 30 Mar 2019 20:10:34 +0100
Fix clearing water 2 volume during product load.
www/js/prod_edit.js | file | annotate | diff | comparison | revisions |
--- a/www/js/prod_edit.js Wed Mar 27 12:50:57 2019 +0100 +++ b/www/js/prod_edit.js Sat Mar 30 20:10:34 2019 +0100 @@ -2013,7 +2013,7 @@ $("#w1_name").jqxDropDownList('selectItem', dataRecord.w1_name); $("#w2_name").jqxDropDownList('selectItem', dataRecord.w2_name); // Fix tap water if zero using mash infuse amount. - if (parseFloat($("#wg_amount").jqxNumberInput('decimal')) == 0 && mash_infuse > 0) { + if (parseFloat($("#w1_amount").jqxNumberInput('decimal')) == 0 && mash_infuse > 0) { $("#w1_amount").val(mash_infuse); dataRecord.w1_amount = mash_infuse; $("#wg_amount").val(mash_infuse);