mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 16:44:23 +08:00
🍉 Sync 2026-07-22 20:35:20
This commit is contained in:
1 parent
48627b2f13
commit
366e2a7e21
41 files changed
+179
-2199
No files matched your search
@@ -171,9 +171,9 @@ return view.extend({
|
||||
.catch(function(e) { ui.addNotification(null, E('p', e.message)) });
|
||||
},
|
||||
|
||||
HandleStopDDnsRule(m, section_id, ev) {
|
||||
handleStopDDnsRule(m, section_id, ev) {
|
||||
return fs.exec('/usr/lib/ddns/dynamic_dns_lucihelper.sh',
|
||||
[ '-S', section_id, '--', 'start' ])
|
||||
[ '-S', section_id, '--', 'stop' ])
|
||||
.then(L.bind(m.render, m))
|
||||
.catch(function(e) { ui.addNotification(null, E('p', e.message)) });
|
||||
},
|
||||
@@ -551,7 +551,7 @@ return view.extend({
|
||||
},
|
||||
stop_opt = {
|
||||
'class': 'cbi-button cbi-button-neutral stop',
|
||||
'click': ui.createHandlerFn(_this, 'HandleStopDDnsRule', m, section_id),
|
||||
'click': ui.createHandlerFn(_this, 'handleStopDDnsRule', m, section_id),
|
||||
'title': _('Stop this service'),
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user