www/js/rec_edit.js

changeset 267
dafc9ff806a4
parent 265
05f9a0c9ed2d
child 271
af0270694d1e
--- 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) {

mercurial