diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-01-20 19:13:57 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-01-20 19:40:46 +0100 |
commit | 878d6622828676dbb8bf0cb26ffc242079aae306 (patch) | |
tree | dd866325baad4fc025fb464192c59ffa00f0f33b /modules/luci-compat | |
parent | 136b965b255c3d37a21e8cf2fc835f83c2f0d3be (diff) |
luci-compat: upload.htm: expose root_directory and initial_directory
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-compat')
-rw-r--r-- | modules/luci-compat/luasrc/view/cbi/upload.htm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-compat/luasrc/view/cbi/upload.htm b/modules/luci-compat/luasrc/view/cbi/upload.htm index e61049538..9dbce9b04 100644 --- a/modules/luci-compat/luasrc/view/cbi/upload.htm +++ b/modules/luci-compat/luasrc/view/cbi/upload.htm @@ -7,7 +7,8 @@ show_hidden = self.show_hidden, enable_remove = self.enable_remove, enable_upload = self.enable_upload, - root_directory = "/" --self.root_directory + root_directory = self.root_directory or "/", + initial_directory = self.initial_directory } }))%>></div> |