diff -r 3755db604432 -r 3649c3d31d15 www/js/rec_edit.js --- a/www/js/rec_edit.js Tue Feb 05 23:09:52 2019 +0100 +++ b/www/js/rec_edit.js Wed Feb 06 15:14:41 2019 +0100 @@ -2388,9 +2388,9 @@ autoDropDownHeight: true }); $("#efficiency").jqxTooltip({ content: 'Het rendement van maischen en koken.' }); - $("#efficiency").jqxNumberInput( Perc1dec5 ); + $("#efficiency").jqxNumberInput( Perc1dec ); $("#batch_size").jqxTooltip({ content: 'Het volume van het gekoelde wort na het koken.' }); - $("#batch_size").jqxNumberInput( Spin1dec5 ); + $("#batch_size").jqxNumberInput( Spin1dec ); $("#batch_size").jqxNumberInput({ min: 4 }); $("#boil_size").jqxTooltip({ content: 'Het volume van het wort voor het koken.' }); $("#boil_size").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 90, height: 23, decimalDigits: 2, readOnly: true }); @@ -2549,7 +2549,7 @@ rowdata.f_inventory = datarecord.inventory; } }); - $("#wf_amount").jqxNumberInput( Spin3dec5 ); + $("#wf_amount").jqxNumberInput( Spin3dec ); $('#wf_amount').on('change', function (event) { console.log("amount changed: "+event.args.value); $("#fermentableGrid").jqxGrid('setcellvalue', fermentableRow, 'f_amount', event.args.value); @@ -2576,7 +2576,7 @@ calcFermentables(); }; }); - $("#wf_percentage").jqxNumberInput( Perc1dec1 ); + $("#wf_percentage").jqxNumberInput( Perc1dec ); $("#wf_percentage").on('change', function (event) { var oldvalue = Math.round(fermentableData.f_percentage * 10) / 10.0; var newvalue = event.args.value; @@ -2729,7 +2729,7 @@ rowdata.h_inventory = datarecord.inventory; } }); - $("#wh_amount").jqxNumberInput( Spin1dec1 ); + $("#wh_amount").jqxNumberInput( Spin1dec ); $('#wh_amount').on('change', function (event) { console.log("amount changed: "+event.args.value); var amount = parseFloat(event.args.value) / 1000; @@ -2853,7 +2853,7 @@ rowdata.m_inventory = datarecord.inventory; } }); - $("#wm_amount").jqxNumberInput( Spin1dec1 ); + $("#wm_amount").jqxNumberInput( Spin1dec ); $('#wm_amount').on('change', function (event) { console.log("amount changed: "+event.args.value); var amount = parseFloat(event.args.value) / 1000; @@ -2982,7 +2982,7 @@ calcABV(); } }); - $("#wy_amount").jqxNumberInput( Spin1dec5 ); + $("#wy_amount").jqxNumberInput( Spin1dec ); $('#wy_amount').on('change', function (event) { console.log("amount changed: "+event.args.value); var rowdata = $("#yeastGrid").jqxGrid('getrowdata', yeastRow); @@ -3110,12 +3110,12 @@ } } }); - $("#wstep_temp").jqxNumberInput( Spin1dec5 ); + $("#wstep_temp").jqxNumberInput( Spin1dec ); $('#wstep_temp').on('change', function (event) { var rowdata = $("#mashGrid").jqxGrid('getrowdata', mashRow); rowdata.step_temp = parseFloat(event.args.value); }); - $("#wend_temp").jqxNumberInput( Spin1dec5 ); + $("#wend_temp").jqxNumberInput( Spin1dec ); $('#wend_temp').on('change', function (event) { var rowdata = $("#mashGrid").jqxGrid('getrowdata', mashRow); rowdata.end_temp = parseFloat(event.args.value); @@ -3130,7 +3130,7 @@ var rowdata = $("#mashGrid").jqxGrid('getrowdata', mashRow); rowdata.ramp_time = parseFloat(event.args.value); }); - $("#wstep_infuse_amount").jqxNumberInput( Spin1dec5 ); + $("#wstep_infuse_amount").jqxNumberInput( Spin1dec ); $('#wstep_infuse_amount').on('change', function (event) { var rowdata = $("#mashGrid").jqxGrid('getrowdata', mashRow); rowdata.step_infuse_amount = parseFloat(event.args.value); @@ -3289,13 +3289,13 @@ // Water agents $("#wa_cacl2").jqxTooltip({ content: 'Voor het maken van een ander waterprofiel. Voegt calcium en chloride toe. Voor het verbeteren van zoetere bieren.'}); - $("#wa_cacl2").jqxNumberInput( Spin1dec1 ); + $("#wa_cacl2").jqxNumberInput( Spin1dec ); $("#wa_caso4").jqxTooltip({ content: 'Gips. Voor het maken van een ander waterprofiel. Voegt calcium en sulfaat toe. Voor het verbeteren van bittere bieren.'}); - $("#wa_caso4").jqxNumberInput( Spin1dec1 ); + $("#wa_caso4").jqxNumberInput( Spin1dec ); $("#wa_mgso4").jqxTooltip({ content: 'Epsom zout. Voor het maken van een ander waterprofiel. Voegt magnesium en sulfaat toe. Gebruik spaarzaam!'}); - $("#wa_mgso4").jqxNumberInput( Spin1dec1 ); + $("#wa_mgso4").jqxNumberInput( Spin1dec ); $("#wa_nacl").jqxTooltip({ content: 'Keukenzout. Voor het maken van een ander waterprofiel. Voegt natrium en chloride toe. Voor het accentueren van zoetheid. Bij hoge dosering wordt het bier ziltig.'}); - $("#wa_nacl").jqxNumberInput( Spin1dec1 ); + $("#wa_nacl").jqxNumberInput( Spin1dec ); $("#mash_ph").jqxTooltip({ content: 'Maisch pH tussen 5.2 en 5.6. Gebruik 5.2 voor lichte en 5.5 voor donkere bieren.'}); $("#mash_ph").jqxNumberInput( SpinpH ); $("#calc_acid").jqxCheckBox({ theme: theme, width: 120, height: 23 }); @@ -3308,7 +3308,7 @@ height: 23, autoDropDownHeight: true }); - $("#wa_base").jqxNumberInput( Spin2dec5 ); + $("#wa_base").jqxNumberInput( Spin2dec ); $("#wa_base").jqxNumberInput({ symbol: ' gr', symbolPosition: 'right' }); $("#wa_acid_name").jqxDropDownList({ theme: theme, @@ -3319,13 +3319,13 @@ height: 23, autoDropDownHeight: true }); - $("#wa_acid").jqxNumberInput( Spin2dec5 ); + $("#wa_acid").jqxNumberInput( Spin2dec ); $("#wa_acid").jqxNumberInput({ symbol: ' ml', symbolPosition: 'right' }); $("#wa_acid_perc").jqxNumberInput( Perc0 ); $("#wa_acid_perc").jqxNumberInput({ width: 70, symbol: '%', symbolPosition: 'right' }); // Sparge water - $("#sparge_temp").jqxNumberInput( Spin1dec5 ); - $("#sparge_volume").jqxNumberInput( Spin1dec5 ); + $("#sparge_temp").jqxNumberInput( Spin1dec ); + $("#sparge_volume").jqxNumberInput( Spin1dec ); $("#sparge_ph").jqxNumberInput( SpinpH ); $("#sparge_source").jqxDropDownList({ theme: theme, @@ -3336,7 +3336,7 @@ height: 23, autoDropDownHeight: true }); - $("#sparge_acid_amount").jqxNumberInput( Spin2dec1 ); + $("#sparge_acid_amount").jqxNumberInput( Spin2dec ); $("#sparge_acid_amount").jqxNumberInput({ spinButtons: false, readOnly: true, symbol: ' ml', symbolPosition: 'right' }); $("#sparge_acid_type").jqxDropDownList({ theme: theme,