@jow @aparcar @dibdot @hnyman I've been working on converting lua apps to javascript and the only hurdle I couldn't overcome is that after a button click I need to refresh either the status widget or the hole page.
This is the overview.js: https://github.com/stangri/source.openwrt.melmac.net/blob/master/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock/overview.js, this is where the status widget is defined: https://github.com/stangri/source.openwrt.melmac.net/blob/master/luci-app-simple-adblock/htdocs/luci-static/resources/simple-adblock/status.js.
I just don't understand how to cause widget/whole page re-render from here: https://github.com/stangri/source.openwrt.melmac.net/blob/master/luci-app-simple-adblock/htdocs/luci-static/resources/simple-adblock/status.js#L79-L81
Can anyone guide me in the right direction?