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>
(cherry picked from commit bfcd962ffd
)
This commit is contained in:
parent
6f0a24f85b
commit
a58122d0aa
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue