luci/modules/luci-base/htdocs/luci-static
Oldřich Jedlička ee9b3a4e94 luci-base: Fix using isActive in widget-change notification.
The `onchange` notification handler is called too early to be able to
evaluate other widget's `isActive()` status. Solve this by changing order
of event handling - first register/execute `map.checkDepends` and then
`onchange`.

Fixes: openwrt/luci#4516.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
2020-10-30 21:18:45 +01:00
..
resources luci-base: Fix using isActive in widget-change notification. 2020-10-30 21:18:45 +01:00