From a58122d0aa1bef5ef0cc6c19e445bc38699b1fc4 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Sat, 11 Apr 2020 20:35:06 +0200 Subject: [PATCH] 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 (cherry picked from commit bfcd962ffd211521e91a875e60ef897335de1fc0) --- .../htdocs/luci-static/resources/view/adblock/dnsreport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.25.1