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:
ca0de5f
)
Added missing submitstate-function to tables pseudo map
author
Steven Barth
<steven@midlink.org>
Tue, 21 Oct 2008 20:22:42 +0000
(20:22 +0000)
committer
Steven Barth
<steven@midlink.org>
Tue, 21 Oct 2008 20:22:42 +0000
(20:22 +0000)
libs/cbi/luasrc/cbi.lua
patch
|
blob
|
history
diff --git
a/libs/cbi/luasrc/cbi.lua
b/libs/cbi/luasrc/cbi.lua
index f54d5ac9a42d3655d7874ce92c898250b02fd555..94ac9648376aada809be5f200e2f10bd0595c3fb 100644
(file)
--- a/
libs/cbi/luasrc/cbi.lua
+++ b/
libs/cbi/luasrc/cbi.lua
@@
-690,6
+690,10
@@
function Table.__init__(self, form, data, ...)
function datasource.get(self, section, option)
return data[section] and data[section][option]
end
+
+ function datasource.submitstate(self)
+ return luci.http.formvalue("cbi.submit")
+ end
function datasource.del(...)
return true