Thu, 18 Apr 2019 21:26:06 +0200
Fixed mash step name field editing.
www/js/prod_edit.js | file | annotate | diff | comparison | revisions | |
www/js/rec_edit.js | file | annotate | diff | comparison | revisions | |
www/prod_edit.php | file | annotate | diff | comparison | revisions | |
www/rec_edit.php | file | annotate | diff | comparison | revisions |
--- 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,
--- 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,
--- 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 @@ <table style="width: 100%;"> <tr> <td align="right" style="vertical-align: top;">Stap naam:</td> - <td style="padding: 3px;"><input readonly="1" id="wstep_name" /></div></td> + <td style="padding: 3px;"><input id="wstep_name" /></div></td> </tr> <tr> <td align="right" style="vertical-align: top;">Stap type:</td>
--- 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 @@ <table style="width: 100%;"> <tr> <td align="right" style="vertical-align: top;">Stap naam:</td> - <td style="padding: 3px;"><input readonly="1" id="wstep_name" /></div></td> + <td style="padding: 3px;"><input id="wstep_name" /></div></td> </tr> <tr> <td align="right" style="vertical-align: top;">Stap type:</td>