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>
This commit is contained in:
parent
57f27cf7f8
commit
bfcd962ffd
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ function handleAction(ev) {
|
||||||
|
|
||||||
return L.view.extend({
|
return L.view.extend({
|
||||||
load: function() {
|
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) {
|
render: function(dnsreport) {
|
||||||
|
|
Loading…
Reference in a new issue