Changed the last dropdown lists events to select

Thu, 19 Mar 2020 13:42:59 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 19 Mar 2020 13:42:59 +0100
changeset 645
3b1510050c9b
parent 644
4654b8ee4690
child 646
2246d830a42a

Changed the last dropdown lists events to select

www/js/inv_equipments.js file | annotate | diff | comparison | revisions
www/js/mon_fermenter.js file | annotate | diff | comparison | revisions
www/js/mon_ispindel.js file | annotate | diff | comparison | revisions
www/js/prod_divide.js file | annotate | diff | comparison | revisions
--- a/www/js/inv_equipments.js	Thu Mar 19 11:15:29 2020 +0100
+++ b/www/js/inv_equipments.js	Thu Mar 19 13:42:59 2020 +0100
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * Copyright (C) 2014-2019
+ * Copyright (C) 2014-2020
  *
  * Michiel Broek <mbroek at mbse dot eu>
  *
@@ -274,7 +274,7 @@
    $('#boil_time').on('change', function(event) { calcBatchVolume(); });
    $('#top_up_kettle').on('change', function(event) { calcBatchVolume(); });
    $('#calc_boil_volume').on('change', function(event) { calcBatchVolume(); });
-   $('#tun_material').on('change', function(event) {
+   $('#tun_material').on('select', function(event) {
     dataRecord.tun_specific_heat = MaterialData[event.args.index].sh;
     $('#tun_specific_heat').val(dataRecord.tun_specific_heat);
    });
--- a/www/js/mon_fermenter.js	Thu Mar 19 11:15:29 2020 +0100
+++ b/www/js/mon_fermenter.js	Thu Mar 19 13:42:59 2020 +0100
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * Copyright (C) 2019
+ * Copyright (C) 2019-2020
  *
  * Michiel Broek <mbroek at mbse dot eu>
  *
@@ -522,7 +522,7 @@
   }
  }, 500);
 
- $('#info_mode').on('change', function(event) {
+ $('#info_mode').on('select', function(event) {
   var args = event.args;
   if (args) {
    record.mode = args.item.value;
--- a/www/js/mon_ispindel.js	Thu Mar 19 11:15:29 2020 +0100
+++ b/www/js/mon_ispindel.js	Thu Mar 19 13:42:59 2020 +0100
@@ -268,7 +268,7 @@
    newProduct = true;
   }
  });
- $('#info_mode').on('change', function(event) {
+ $('#info_mode').on('select', function(event) {
   if (event.args) {
    record.mode = event.args.item.value;
    newMode = true;
--- a/www/js/prod_divide.js	Thu Mar 19 11:15:29 2020 +0100
+++ b/www/js/prod_divide.js	Thu Mar 19 13:42:59 2020 +0100
@@ -415,7 +415,7 @@
  $('#available').jqxNumberInput(Show1dec);
  $('#leftover').jqxNumberInput(Show1dec);
  $('#divide_type').val(0);
- $('#divide_type').on('change', function(event) {
+ $('#divide_type').on('select', function(event) {
   var index = event.args.index;
   console.log('divide_type:' + index);
   dataRecord.divide_type = index;

mercurial