diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-10-08 19:55:39 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-10-08 19:55:39 +0200 |
commit | 5d10e3de385261d58944f051527e8cf588a9602d (patch) | |
tree | b2f7b9b077564ee195cd105a7029ad4780391bdd /applications/luci-app-smartdns/htdocs/luci-static | |
parent | e6e4575f7c8034cf1d9d8c5049ac6f1ecdebe070 (diff) |
luci-app-smartdns: explicitly require `view` class
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-smartdns/htdocs/luci-static')
-rw-r--r-- | applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js b/applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js index 549482b469..da0b974420 100644 --- a/applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js +++ b/applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js @@ -22,6 +22,7 @@ 'require uci'; 'require form'; 'require rpc'; +'require view'; var conf = 'smartdns'; var callServiceList = rpc.declare({ @@ -115,7 +116,7 @@ function smartdnsRenderStatus(res) { return renderHTML; } -return L.view.extend({ +return view.extend({ load: function () { return Promise.all([ uci.load('smartdns'), |