summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/shadowsocks-libev.js2
-rw-r--r--applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/instances.js6
2 files changed, 7 insertions, 1 deletions
diff --git a/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/shadowsocks-libev.js b/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/shadowsocks-libev.js
index c0f1ced553..d0b06f2429 100644
--- a/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/shadowsocks-libev.js
+++ b/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/shadowsocks-libev.js
@@ -170,7 +170,7 @@ return baseclass.extend({
o.datatype = 'base64';
o.password = true;
o.size = 12;
- o.modalonly = true;;
+ o.modalonly = true;
optfunc(form.Value, 'plugin', _('Plugin')).modalonly = true;
diff --git a/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/instances.js b/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/instances.js
index 671f17a9e4..cc59cfe318 100644
--- a/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/instances.js
+++ b/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/instances.js
@@ -108,6 +108,12 @@ return view.extend({
o.datatype = 'hostport';
}
}
+ if (stype === 'ss_local' || stype === 'ss_server') {
+ o = s.taboption('advanced', form.FileUpload, 'acl',
+ _('ACL file'),
+ _('File containing Access Control List'));
+ o.root_directory = '/etc/shadowsocks-libev';
+ }
}, this));
}
};