summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-compat
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-compat')
-rw-r--r--modules/luci-compat/luasrc/view/cbi/upload.htm3
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>