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