diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-11-03 21:54:40 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-11-03 21:55:50 +0100 |
commit | 86f492173d1daab8b75e4d4bd70ba06872ea70fa (patch) | |
tree | 3a64f76424681b0a0bb613c6966079a530ffd057 /modules/luci-mod-status | |
parent | b2a46e131b778ae14156676de8daf8231ab8e151 (diff) |
treewide: require ui.js explicitly
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-status')
-rw-r--r-- | modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js | 3 | ||||
-rw-r--r-- | modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js index 0565490b9..18e2160b5 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js @@ -1,4 +1,5 @@ 'use strict'; +'require ui'; 'require rpc'; 'require network'; @@ -298,7 +299,7 @@ return L.view.extend({ }); } - L.ui.tabs.initTabGroup(v.firstElementChild.childNodes); + ui.tabs.initTabGroup(v.firstElementChild.childNodes); this.pollData(); diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js index 45dd54a88..ce0c72bc3 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js @@ -1,4 +1,5 @@ 'use strict'; +'require ui'; 'require rpc'; 'require network'; @@ -326,7 +327,7 @@ return L.view.extend({ }); } - L.ui.tabs.initTabGroup(v.firstElementChild.childNodes); + ui.tabs.initTabGroup(v.firstElementChild.childNodes); this.pollData(); |