01.06.2020, 09:47
(31.05.2020, 21:33)Erwin van der Zwart Wrote: Hi,
Add this line to your code:
BR,Code:$('.modal-backdrop').addClass("hide");
Erwin
Hi Erwin,
Thx again for the quick response, however I now find it difficult to apply in my code. Can you please help.
My code:
var plantimer;
$(function(){
if (typeof grp != 'undefined') {
grp.listen('1/1/1', function(incomingEvent, eventType) {
if (eventType == 'value') {
switch(incomingEvent.value){
case 1:
showPlan(11);
break;
case 2:
showPlan(7);
break;
case 3:
showPlan(38);
break;
}
if (plantimer){
clearTimeout(plantimer)
}
plantimer=setTimeout(function(){
showPlan(1);
}, 60000);
}
});
}
});