# HG changeset patch # User Michiel Broek # Date 1555615566 -7200 # Node ID fa4eb830c151e94f703319387aaac90e33f7a3fe # Parent da1f4525169d476f2c3c1925ee0a20c254fca24f Fixed mash step name field editing. diff -r da1f4525169d -r fa4eb830c151 www/js/prod_edit.js --- a/www/js/prod_edit.js Mon Apr 01 19:57:34 2019 +0200 +++ b/www/js/prod_edit.js Thu Apr 18 21:26:06 2019 +0200 @@ -4855,6 +4855,10 @@ $("#mashGrid").jqxGrid('sortby', 'step_temp', 'asc'); }); $("#wstep_name").jqxInput({ theme: theme, width: 320, height: 23 }); + $("#wstep_name").on('change', function (event) { + var rowdata = $("#mashGrid").jqxGrid('getrowdata', mashRow); + rowdata.step_name = event.args.value; + }); $("#wstep_type").jqxDropDownList({ theme: theme, source: MashStepTypeAdapter, diff -r da1f4525169d -r fa4eb830c151 www/js/rec_edit.js --- a/www/js/rec_edit.js Mon Apr 01 19:57:34 2019 +0200 +++ b/www/js/rec_edit.js Thu Apr 18 21:26:06 2019 +0200 @@ -3412,6 +3412,10 @@ $("#mashGrid").jqxGrid('sortby', 'step_temp', 'asc'); }); $("#wstep_name").jqxInput({ theme: theme, width: 320, height: 23 }); + $("#wstep_name").on('change', function (event) { + var rowdata = $("#mashGrid").jqxGrid('getrowdata', mashRow); + rowdata.step_name = event.args.value; + }); $("#wstep_type").jqxDropDownList({ theme: theme, source: MashStepTypeAdapter, diff -r da1f4525169d -r fa4eb830c151 www/prod_edit.php --- a/www/prod_edit.php Mon Apr 01 19:57:34 2019 +0200 +++ b/www/prod_edit.php Thu Apr 18 21:26:06 2019 +0200 @@ -994,7 +994,7 @@ - + diff -r da1f4525169d -r fa4eb830c151 www/rec_edit.php --- a/www/rec_edit.php Mon Apr 01 19:57:34 2019 +0200 +++ b/www/rec_edit.php Thu Apr 18 21:26:06 2019 +0200 @@ -506,7 +506,7 @@
Stap naam:
Stap type:
- +
Stap naam:
Stap type: