mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Update luci-mod-network
This commit is contained in:
parent
70d1670539
commit
33830e25d5
9 changed files with 747 additions and 291 deletions
|
@ -1,9 +1,11 @@
|
|||
'use strict';
|
||||
'require view';
|
||||
'require dom';
|
||||
'require fs';
|
||||
'require ui';
|
||||
'require uci';
|
||||
|
||||
return L.view.extend({
|
||||
return view.extend({
|
||||
handleCommand: function(exec, args) {
|
||||
var buttons = document.querySelectorAll('.diag-action > .cbi-button');
|
||||
|
||||
|
@ -14,7 +16,7 @@ return L.view.extend({
|
|||
var out = document.querySelector('.command-output');
|
||||
out.style.display = '';
|
||||
|
||||
L.dom.content(out, [ res.stdout || '', res.stderr || '' ]);
|
||||
dom.content(out, [ res.stdout || '', res.stderr || '' ]);
|
||||
}).catch(function(err) {
|
||||
ui.addNotification(null, E('p', [ err ]))
|
||||
}).finally(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue