diff options
author | Dirk Brenken <dev@brenken.org> | 2024-05-30 22:13:17 +0200 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2024-05-30 22:13:17 +0200 |
commit | b4fc61a0c5dc6d613ffd659114fa073b31b02230 (patch) | |
tree | 75e0bd526a998408bae7f30db68fb83bcae96af8 /applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js | |
parent | c27c0b2505dc4cde9ab1b5de97eabbc6b3c79c71 (diff) |
luci-app-banip: sync with 0.9.6-2
small fixes & improvements
Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js')
-rw-r--r-- | applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js b/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js index c57f5f633f..81543ca732 100644 --- a/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js +++ b/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js @@ -14,11 +14,11 @@ function handleAction(ev) { if (ev === 'restart' || ev === 'reload') { let map = document.querySelector('.cbi-map'); - return dom.callClassMethod(map, 'save') - .then(L.bind(ui.changes.apply, ui.changes)) - .then(function() { - return fs.exec_direct('/etc/init.d/banip', [ev]); - }); + dom.callClassMethod(map, 'save') + .then(L.bind(ui.changes.apply, ui.changes)) + .then(function () { + return fs.exec_direct('/etc/init.d/banip', [ev]); + }); } else { return fs.exec_direct('/etc/init.d/banip', [ev]); } |