From: Dirk Brenken Date: Sat, 11 Apr 2020 18:35:06 +0000 (+0200) Subject: luci-app-adblock: refresh report data on page load X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bfcd962ffd211521e91a875e60ef897335de1fc0;p=oweals%2Fluci.git luci-app-adblock: refresh report data on page load * refresh report data on page load (without hitting the refresh button explicity) Signed-off-by: Dirk Brenken --- diff --git a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js index 58a6dbe1a..1413f842c 100644 --- a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js +++ b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js @@ -188,7 +188,7 @@ function handleAction(ev) { return L.view.extend({ load: function() { - return L.resolveDefault(fs.exec_direct('/etc/init.d/adblock', ['report', '+', '50', 'false', 'json']),''); + return L.resolveDefault(fs.exec_direct('/etc/init.d/adblock', ['report', '+', '50', 'true', 'json']),''); }, render: function(dnsreport) {