29.06.2018, 08:04
Add to Custom JavaScript:
Add to Custom CSS:
Code:
$(function() {
if (typeof grp != 'object') {
return;
}
grp.listen('1/1/1', function(object, state) {
$('.disabledbyknx').toggleClass('el-disabled', object.value == true);
});
});
Add to Custom CSS:
Code:
.el-disabled {
opacity: 0.5;
}
.el-disabled,
.el-disabled * {
pointer-events: none !important;
}