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 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'),
|
||||
|
|
Loading…
Reference in a new issue