summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2020-04-11 20:35:06 +0200
committerDirk Brenken <dev@brenken.org>2020-04-11 20:35:06 +0200
commitbfcd962ffd211521e91a875e60ef897335de1fc0 (patch)
treee644d7445891e7370993029ae8e5a2dd392ba638 /applications/luci-app-adblock
parent57f27cf7f803cf1f788f6b3edb103c138aaa92f9 (diff)
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 <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-adblock')
-rw-r--r--applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js2
1 files changed, 1 insertions, 1 deletions
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) {