www/js/profile_fermentation.js

changeset 548
c67cd0d9249b
parent 523
3cccf4392a25
child 689
499c4921a90f
--- a/www/js/profile_fermentation.js	Thu Oct 31 15:57:49 2019 +0100
+++ b/www/js/profile_fermentation.js	Mon Nov 04 15:59:39 2019 +0100
@@ -189,16 +189,16 @@
     { text: 'Stap naam', datafield: 'name' },
     { text: 'Min. °C', datafield: 'target_lo', width: 100, align: 'right', cellsalign: 'right', cellsformat: 'f1',
      validation: function(cell, value) {
-      if (value < 0 || value > 50) {
-       return { result: false, message: 'De temperatuur moet tussen 0 en 50 zijn.' };
+      if (value < 0 || value > 45) {
+       return { result: false, message: 'De temperatuur moet tussen 0 en 45 zijn.' };
       }
       return true;
      }
     },
     { text: 'Max. &deg;C', datafield: 'target_hi', width: 100, align: 'right', cellsalign: 'right', cellsformat: 'f1',
      validation: function(cell, value) {
-      if (value < 0 || value > 50) {
-       return { result: false, message: 'De temperatuur moet tussen 0 en 50 zijn.' };
+      if (value < 0 || value > 45) {
+       return { result: false, message: 'De temperatuur moet tussen 0 en 45 zijn.' };
       }
       return true;
      }
@@ -227,9 +227,9 @@
  // initialize the input fields.
  $('#name').jqxInput({ theme: theme, width: 640, height: 23 });
  $('#inittemp_lo').jqxNumberInput(Spin1dec);
- $('#inittemp_lo').jqxNumberInput({ max: 40 });
+ $('#inittemp_lo').jqxNumberInput({ max: 45 });
  $('#inittemp_hi').jqxNumberInput(Spin1dec);
- $('#inittemp_hi').jqxNumberInput({ max: 40 });
+ $('#inittemp_hi').jqxNumberInput({ max: 45 });
  $('#fridgemode').jqxCheckBox({ theme: theme, height: 23, enableContainerClick: false });
 
  // initialize jqxGrid

mercurial