www/js/rec_edit.js

changeset 267
dafc9ff806a4
parent 265
05f9a0c9ed2d
child 271
af0270694d1e
equal deleted inserted replaced
266:4cfbf25e3093 267:dafc9ff806a4
1888 row["h_myrcene"] = datarecord.myrcene; 1888 row["h_myrcene"] = datarecord.myrcene;
1889 row["h_total_oil"] = datarecord.total_oil; 1889 row["h_total_oil"] = datarecord.total_oil;
1890 row["h_inventory"] = datarecord.inventory; 1890 row["h_inventory"] = datarecord.inventory;
1891 var commit = $("#hopGrid").jqxGrid('addrow', null, row); 1891 var commit = $("#hopGrid").jqxGrid('addrow', null, row);
1892 } 1892 }
1893 $("#haddrowbutton").jqxDropDownList('clearSelection');
1893 }); 1894 });
1894 1895
1895 $("#hinstockbutton").jqxCheckBox({ theme: theme, height: 27 }); 1896 $("#hinstockbutton").jqxCheckBox({ theme: theme, height: 27 });
1896 $("#hinstockbutton").on('change', function (event) { 1897 $("#hinstockbutton").on('change', function (event) {
1897 hopinstock = event.args.checked; 1898 hopinstock = event.args.checked;
2297 row["y_flocculation"] = datarecord.flocculation; 2298 row["y_flocculation"] = datarecord.flocculation;
2298 row["y_cells"] = datarecord.cells; 2299 row["y_cells"] = datarecord.cells;
2299 row["y_inventory"] = datarecord.inventory; 2300 row["y_inventory"] = datarecord.inventory;
2300 var commit = $("#yeastGrid").jqxGrid('addrow', null, row); 2301 var commit = $("#yeastGrid").jqxGrid('addrow', null, row);
2301 } 2302 }
2303 $("#yaddrowbutton").jqxDropDownList('clearSelection');
2302 }); 2304 });
2303 $("#yinstockbutton").jqxCheckBox({ theme: theme, height: 27 }); 2305 $("#yinstockbutton").jqxCheckBox({ theme: theme, height: 27 });
2304 $("#yinstockbutton").on('change', function (event) { 2306 $("#yinstockbutton").on('change', function (event) {
2305 yeastinstock = event.args.checked; 2307 yeastinstock = event.args.checked;
2306 yeastlist.dataBind(); 2308 yeastlist.dataBind();

mercurial