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