knowthelist / fhem-tablet-ui

UI builder framework for FHEM
MIT License
148 stars 84 forks source link

Classchanger widget no longer recognizes data-get-on/off #207

Open AndLindemann opened 7 years ago

AndLindemann commented 7 years ago

Since commit b466d6f6b5446cf81264da5b6ba98201b2cccb30 the classchanger widget no longer recognizes data-get-on and data-get-off parameters. It just compares against data-get against "on" or "off". Is this intended?

AndLindemann commented 7 years ago

In fact, since the update from yesterday, classchanger seems to be broken completely. It fails to add the on-class on initial page load, possibly due to reasons caused in some other reworked javascripts. I had to revert the complete update from yesterday to get it back to working state, as reverting widget_classchanger.js was not enough, it still failed to update correctly. Only after a complete restore it worked again.