diff -r 8c4f08445624 -r af28ebe4a779 www/js/inv_equipments.js --- a/www/js/inv_equipments.js Fri Sep 13 23:02:38 2019 +0200 +++ b/www/js/inv_equipments.js Sat Sep 14 19:04:29 2019 +0200 @@ -168,7 +168,9 @@ } }); } - }; + }, + dataAdapter = new $.jqx.dataAdapter(source), + editrow = -1; // initialize the input fields. $("#name").jqxInput({ theme: theme, width: 250, height: 23 }); @@ -213,8 +215,6 @@ $("#mash_max").jqxNumberInput( Spin1dec ); $("#efficiency").jqxNumberInput( Perc1dec ); - var dataAdapter = new $.jqx.dataAdapter(source); - var editrow = -1; // initialize jqxGrid $("#jqxgrid").jqxGrid({ width: 1280,