luci-app-smartdns: explicitly require view
class
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
e6e4575f7c
commit
5d10e3de38
1 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@
|
||||||
'require uci';
|
'require uci';
|
||||||
'require form';
|
'require form';
|
||||||
'require rpc';
|
'require rpc';
|
||||||
|
'require view';
|
||||||
|
|
||||||
var conf = 'smartdns';
|
var conf = 'smartdns';
|
||||||
var callServiceList = rpc.declare({
|
var callServiceList = rpc.declare({
|
||||||
|
@ -115,7 +116,7 @@ function smartdnsRenderStatus(res) {
|
||||||
return renderHTML;
|
return renderHTML;
|
||||||
}
|
}
|
||||||
|
|
||||||
return L.view.extend({
|
return view.extend({
|
||||||
load: function () {
|
load: function () {
|
||||||
return Promise.all([
|
return Promise.all([
|
||||||
uci.load('smartdns'),
|
uci.load('smartdns'),
|
||||||
|
|
Loading…
Reference in a new issue