projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
136b965
)
luci-compat: upload.htm: expose root_directory and initial_directory
author
Jo-Philipp Wich
<jo@mein.io>
Mon, 20 Jan 2020 18:13:57 +0000
(19:13 +0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Mon, 20 Jan 2020 18:40:46 +0000
(19:40 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-compat/luasrc/view/cbi/upload.htm
patch
|
blob
|
history
diff --git
a/modules/luci-compat/luasrc/view/cbi/upload.htm
b/modules/luci-compat/luasrc/view/cbi/upload.htm
index e610495380a87340a14cf4d69f944067636f5215..9dbce9b04732a607b927304b95d3bb86fafe9589 100644
(file)
--- 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>