luci/libs/web/luasrc
Jo-Philipp Wich 3553d308f6 [PATCH] Naive fix for bug #208
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>
2011-12-20 17:52:10 +00:00
..
cbi libs/web: rework hostname match to not allow arbritary sequences of numbers and dots 2011-12-16 06:05:51 +00:00
http libs: merge libs/http into libs/web 2010-10-12 05:22:38 +00:00
view/cbi [PATCH] Naive fix for bug #208 2011-12-20 17:52:10 +00:00
cacheloader.lua Added bytecodecache 2008-09-05 23:24:39 +00:00
cbi.lua [PATCH] Naive fix for bug #208 2011-12-20 17:52:10 +00:00
config.lua Reload luci.config for each thread 2008-12-05 15:36:44 +00:00
dispatcher.lua libs/web: add assert() statements for unresolvable function case 2011-11-30 12:50:32 +00:00
http.lua libs/web: add luci.http.write_json() 2010-11-07 19:27:15 +00:00
i18n.lua libs/web: prepare template parser, dispatcher and i18n class for upcoming po format change 2009-10-31 15:42:07 +00:00
sauth.lua Typo 2009-07-31 17:08:59 +00:00
template.lua libs/web: more verbose faults 2011-07-21 01:04:53 +00:00