Mon, 11 Feb 2019 20:01:17 +0100
Allow the same hops and yeasts to be added multiple times.
www/js/prod_edit.js | file | annotate | diff | comparison | revisions | |
www/js/rec_edit.js | file | annotate | diff | comparison | revisions |
--- a/www/js/prod_edit.js Mon Feb 11 17:09:15 2019 +0100 +++ b/www/js/prod_edit.js Mon Feb 11 20:01:17 2019 +0100 @@ -2436,6 +2436,7 @@ row["h_inventory"] = datarecord.inventory; var commit = $("#hopGrid").jqxGrid('addrow', null, row); } + $("#haddrowbutton").jqxDropDownList('clearSelection'); }); $("#hinstockbutton").jqxCheckBox({ theme: theme, height: 27 }); @@ -2845,6 +2846,7 @@ row["y_inventory"] = datarecord.inventory; var commit = $("#yeastGrid").jqxGrid('addrow', null, row); } + $("#yaddrowbutton").jqxDropDownList('clearSelection'); }); $("#yinstockbutton").jqxCheckBox({ theme: theme, height: 27 }); $("#yinstockbutton").on('change', function (event) {
--- a/www/js/rec_edit.js Mon Feb 11 17:09:15 2019 +0100 +++ b/www/js/rec_edit.js Mon Feb 11 20:01:17 2019 +0100 @@ -1890,6 +1890,7 @@ row["h_inventory"] = datarecord.inventory; var commit = $("#hopGrid").jqxGrid('addrow', null, row); } + $("#haddrowbutton").jqxDropDownList('clearSelection'); }); $("#hinstockbutton").jqxCheckBox({ theme: theme, height: 27 }); @@ -2299,6 +2300,7 @@ row["y_inventory"] = datarecord.inventory; var commit = $("#yeastGrid").jqxGrid('addrow', null, row); } + $("#yaddrowbutton").jqxDropDownList('clearSelection'); }); $("#yinstockbutton").jqxCheckBox({ theme: theme, height: 27 }); $("#yinstockbutton").on('change', function (event) {