diff options
Diffstat (limited to 'applications/luci-app-smartdns')
-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'), |