summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-transmission
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-transmission')
-rw-r--r--applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js b/applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js
index dfbd9af6cb..aecb4ecaa7 100644
--- a/applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js
+++ b/applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js
@@ -1,4 +1,5 @@
'use strict';
+'require view';
'require fs';
'require uci';
'require rpc';
@@ -17,7 +18,7 @@ function setFlagBool(o) {
o.disabled = 'false';
}
-return L.view.extend({
+return view.extend({
load: function() {
return Promise.all([
L.resolveDefault(callServiceList('transmission')),