From 878d6622828676dbb8bf0cb26ffc242079aae306 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 20 Jan 2020 19:13:57 +0100 Subject: luci-compat: upload.htm: expose root_directory and initial_directory Signed-off-by: Jo-Philipp Wich --- modules/luci-compat/luasrc/view/cbi/upload.htm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/luci-compat') 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 } }))%>> -- cgit v1.2.3