Thu, 21 Feb 2019 16:36:02 +0100
Update primary svg when entering the end primary sg.
www/js/prod_edit.js | file | annotate | diff | comparison | revisions |
--- a/www/js/prod_edit.js Wed Feb 20 21:57:40 2019 +0100 +++ b/www/js/prod_edit.js Thu Feb 21 16:36:02 2019 +0100 @@ -2164,6 +2164,10 @@ calcIBUs(); calcYeast(); }); + $("#primary_end_sg").on('change', function (event) { + dataRecord.primary_end_sg = parseFloat(event.args.value); + calcFermentation(); + }); $("#BLog").jqxButton({ disabled: (dataRecord.log_brew) ? false:true }); $("#FLog").jqxButton({ disabled: (dataRecord.log_fermentation) ? false:true });