www/js/inv_equipments.js

changeset 645
3b1510050c9b
parent 563
acdd54144838
child 691
9c21125f584e
equal deleted inserted replaced
644:4654b8ee4690 645:3b1510050c9b
1 /***************************************************************************** 1 /*****************************************************************************
2 * Copyright (C) 2014-2019 2 * Copyright (C) 2014-2020
3 * 3 *
4 * Michiel Broek <mbroek at mbse dot eu> 4 * Michiel Broek <mbroek at mbse dot eu>
5 * 5 *
6 * This file is part of BrewCloud 6 * This file is part of BrewCloud
7 * 7 *
272 $('#boil_size').on('change', function(event) { calcBatchVolume(); }); 272 $('#boil_size').on('change', function(event) { calcBatchVolume(); });
273 $('#evap_rate').on('change', function(event) { calcBatchVolume(); }); 273 $('#evap_rate').on('change', function(event) { calcBatchVolume(); });
274 $('#boil_time').on('change', function(event) { calcBatchVolume(); }); 274 $('#boil_time').on('change', function(event) { calcBatchVolume(); });
275 $('#top_up_kettle').on('change', function(event) { calcBatchVolume(); }); 275 $('#top_up_kettle').on('change', function(event) { calcBatchVolume(); });
276 $('#calc_boil_volume').on('change', function(event) { calcBatchVolume(); }); 276 $('#calc_boil_volume').on('change', function(event) { calcBatchVolume(); });
277 $('#tun_material').on('change', function(event) { 277 $('#tun_material').on('select', function(event) {
278 dataRecord.tun_specific_heat = MaterialData[event.args.index].sh; 278 dataRecord.tun_specific_heat = MaterialData[event.args.index].sh;
279 $('#tun_specific_heat').val(dataRecord.tun_specific_heat); 279 $('#tun_specific_heat').val(dataRecord.tun_specific_heat);
280 }); 280 });
281 }, 281 },
282 columns: [ 282 columns: [

mercurial