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/htdocs/luci-static/resources | |
parent | b2a46e131b778ae14156676de8daf8231ab8e151 (diff) |
treewide: require ui.js explicitly
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-status/htdocs/luci-static/resources')
-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 0565490b9d..18e2160b51 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 45dd54a883..ce0c72bc3b 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(); |