luci-app-smartdns: explicitly require view class
Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 5d10e3de385261d58944f051527e8cf588a9602d)
This commit is contained in:
parent
92ae018d61
commit
850fcaf0b9
@ -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…
x
Reference in New Issue
Block a user