LuCI - OpenWrt Configuration Interface
For SimpleSection, use the section name (always "1") instead of the section type in the CBI-like string used to identify the upload. This allows upload fields to be placed in SimpleSections. The fix changes a minimal number of lines, but does introduce some unnecessary confusion, it may or may not be better than a more thorough/invasive fix. Set the enctype for the form element in the simpleform view to be multipart/form-data because the default application/x-www-form-urlencoded does not support input files. Signed-off-by: Kevin Locke <kevin@kevinlocke.name> |
||
---|---|---|
applications | ||
build | ||
contrib | ||
i18n | ||
libs | ||
modules | ||
po | ||
protocols | ||
themes | ||
.buildpath | ||
.cproject | ||
.gitignore | ||
.project | ||
INSTALL | ||
LICENSE | ||
Makefile | ||
NOTICE | ||
THANKYOU |