diff -r 3755db604432 -r 3649c3d31d15 www/js/inv_hops.js --- a/www/js/inv_hops.js Tue Feb 05 23:09:52 2019 +0100 +++ b/www/js/inv_hops.js Wed Feb 06 15:14:41 2019 +0100 @@ -134,13 +134,13 @@ }; // initialize the input fields. $("#name").jqxInput({ theme: theme, width: 640, height: 23 }); - $("#alpha").jqxNumberInput( Perc1dec1 ); - $("#beta").jqxNumberInput( Perc1dec1 ); - $("#humulene").jqxNumberInput( Perc1dec1 ); - $("#caryophyllene").jqxNumberInput( Perc1dec1 ); - $("#cohumulone").jqxNumberInput( Perc1dec1 ); - $("#myrcene").jqxNumberInput( Perc1dec1 ); - $("#hsi").jqxNumberInput( Perc1dec5 ); + $("#alpha").jqxNumberInput( Perc1dec ); + $("#beta").jqxNumberInput( Perc1dec ); + $("#humulene").jqxNumberInput( Perc1dec ); + $("#caryophyllene").jqxNumberInput( Perc1dec ); + $("#cohumulone").jqxNumberInput( Perc1dec ); + $("#myrcene").jqxNumberInput( Perc1dec ); + $("#hsi").jqxNumberInput( Perc1dec ); $("#type").jqxDropDownList({ theme: theme, @@ -164,12 +164,12 @@ $("#origin").jqxInput({ theme: theme, width: 320, height: 23 }); $("#substitutes").jqxInput({ theme: theme, width: 320, height: 23 }); $("#always_on_stock").jqxCheckBox({ theme: theme, width: 120, height: 23 }); - $("#inventory").jqxNumberInput( Spin1dec1 ); + $("#inventory").jqxNumberInput( Spin1dec ); $("#production_date").jqxDateTimeInput( Dateopts ); - $("#cost").jqxNumberInput( Spin2dec1 ); + $("#cost").jqxNumberInput( Spin2dec ); $("#tht_date").jqxDateTimeInput( Dateopts ); - $("#total_oil").jqxNumberInput( Perc1dec1 ); - $("#totval").jqxNumberInput( Spin2dec1 ); + $("#total_oil").jqxNumberInput( Perc1dec ); + $("#totval").jqxNumberInput( Spin2dec ); $("#totval").jqxNumberInput({ width: 90, readOnly: true, spinButtons: false }); var dataAdapter = new $.jqx.dataAdapter(source);