summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-system/htdocs/luci-static/resources/view/system/crontab.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-system/htdocs/luci-static/resources/view/system/crontab.js')
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/crontab.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/crontab.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/crontab.js
index bd1eb6e51a..147b9830f0 100644
--- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/crontab.js
+++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/crontab.js
@@ -1,8 +1,9 @@
'use strict';
+'require view';
'require fs';
'require ui';
-return L.view.extend({
+return view.extend({
load: function() {
return L.resolveDefault(fs.read('/etc/crontabs/root'), '');
},