27.08.2024, 11:31
Does not seem to be working, I probably got something wrong
I pasted this in in my javascript custom:
pasted this in Custom CSS:
and I used dis_da_totale as an additional class for the button is that correct, or am I missing something?
I pasted this in in my javascript custom:
Code:
$(function() {
if (typeof grp != 'object') {
return;
}
grp.listen('32/1/22', function(object, state) {
$('.dis_da_totale').toggleClass('el-disabled', object.value == false);
});
});
pasted this in Custom CSS:
Code:
.el-disabled {
opacity: 0.5;
}
.el-disabled,
.el-disabled * {
pointer-events: none !important;
}
and I used dis_da_totale as an additional class for the button is that correct, or am I missing something?