From ac3489049f8c7d755b05400ca298fdb93b07e80b Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 21 Oct 2008 20:22:42 +0000 Subject: [PATCH] Added missing submitstate-function to tables pseudo map --- libs/cbi/luasrc/cbi.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua index f54d5ac9a4..94ac964837 100644 --- 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 -- 2.30.2