# HG changeset patch # User Michiel Broek # Date 1631194806 -7200 # Node ID 5189ee5445cd502d0f03a8ab11b3e3bc803b3fef # Parent 3f2f6e483a4ed95b5d55c11bba99087f7f6c3aa0 Tooltips corrupt the boolean values into integers. diff -r 3f2f6e483a4e -r 5189ee5445cd www/js/inv_yeasts.js --- a/www/js/inv_yeasts.js Wed Sep 01 11:34:01 2021 +0200 +++ b/www/js/inv_yeasts.js Thu Sep 09 15:40:06 2021 +0200 @@ -239,7 +239,7 @@ $('#tolerance').jqxNumberInput(Perc1dec); $('#tolerance').jqxNumberInput({ max: 25 }); $('#sta1').jqxCheckBox({ theme: theme, width: 120, height: 23 }); - $('#sta1').jqxTooltip({ position: 'top-left', content: 'STA1 gen (var diastaticus), ook wel glucoamlylase+ genoemd.' }); +// $('#sta1').jqxTooltip({ position: 'top-left', content: 'STA1 gen (var diastaticus), ook wel glucoamlylase+ genoemd.' }); $('#sta1').on('checked', function(event) { dataRecord.sta1 = 1; }); $('#sta1').on('unchecked', function(event) { dataRecord.sta1 = 0; }); $('#bacteria').jqxCheckBox({ theme: theme, width: 120, height: 23 }); @@ -251,7 +251,7 @@ $('#harvest_time').jqxNumberInput(PosInt); $('#pitch_temperature').jqxNumberInput(YeastT); $('#pofpos').jqxCheckBox({ theme: theme, width: 120, height: 23 }); - $('#pofpos').jqxTooltip({ position: 'top-left', content: 'POF+ gist' }); +// $('#pofpos').jqxTooltip({ position: 'top-left', content: 'POF+ gist' }); $('#pofpos').on('checked', function(event) { dataRecord.pofpos = 1; }); $('#pofpos').on('unchecked', function(event) { dataRecord.pofpos = 0; }); $('#zymocide').jqxDropDownList({