summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-10-08 19:55:39 +0200
committerJo-Philipp Wich <jo@mein.io>2021-10-08 19:55:39 +0200
commit5d10e3de385261d58944f051527e8cf588a9602d (patch)
treeb2f7b9b077564ee195cd105a7029ad4780391bdd /applications
parente6e4575f7c8034cf1d9d8c5049ac6f1ecdebe070 (diff)
luci-app-smartdns: explicitly require `view` class
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js3
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'),