luci-app-adblock: change "refresh" action
* change "refresh" action to fix potential white-/blacklist issues
Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit a392dbf888
)
This commit is contained in:
parent
4f2f3dfd45
commit
f90a9b7a21
2 changed files with 2 additions and 2 deletions
|
@ -250,7 +250,7 @@ return L.view.extend({
|
|||
E('button', {
|
||||
'class': 'cbi-button cbi-button-apply',
|
||||
'click': ui.createHandlerFn(this, function() {
|
||||
return handleAction('start');
|
||||
return handleAction('reload');
|
||||
})
|
||||
}, [ _('Refresh') ])
|
||||
])
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"/sbin/logread -e adblock-": [ "exec" ],
|
||||
"/usr/sbin/logread -e adblock-": [ "exec" ],
|
||||
"/etc/init.d/adblock list" : [ "exec" ],
|
||||
"/etc/init.d/adblock start" : [ "exec" ],
|
||||
"/etc/init.d/adblock reload" : [ "exec" ],
|
||||
"/etc/init.d/adblock suspend" : [ "exec" ],
|
||||
"/etc/init.d/adblock resume" : [ "exec" ],
|
||||
"/etc/init.d/adblock report * [0-9]* [a-z]* json" : [ "exec" ],
|
||||
|
|
Loading…
Reference in a new issue