summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-06-13 08:57:27 +0200
committerJo-Philipp Wich <jo@mein.io>2021-06-13 08:59:40 +0200
commit005c09a293d1d0f4a5a76e210e0fa23842f13cb3 (patch)
treec9386a966ef3ea2e375ace6db374b73c3775d52f /modules/luci-mod-network/htdocs/luci-static/resources
parent23c211f67b77096c2b0ae137fc8b76bf289736f3 (diff)
luci-app-sqm: only reload view once sqm enable/start completed
Chain the exec calls to enable and start the SQM service and only reload the view once these operations are complete and return the entire promise chain from the handler function to ensure that the busy indicator remains active throughout the entire duration of the operation. Also replace exec_direct() with exec() as there is no need to bypass ubus for the init script calls. Fixes: e76d9cc767 ("luci-app-sqm: fix JS error if service is disabled") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources')
0 files changed, 0 insertions, 0 deletions