Software /
code /
prosody
Diff
plugins/adhoc/adhoc.lib.lua @ 3484:66910810a9f7
mod_adhoc: Fix passing data to util.dataforms
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Wed, 01 Sep 2010 22:44:30 +0200 |
parent | 3346:c9294e190bb6 |
child | 3540:bc139431830b |
line wrap: on
line diff
--- a/plugins/adhoc/adhoc.lib.lua Tue Aug 31 15:32:36 2010 +0100 +++ b/plugins/adhoc/adhoc.lib.lua Wed Sep 01 22:44:30 2010 +0200 @@ -69,9 +69,9 @@ end cmdtag:add_child(actions); elseif name == "form" then - cmdtag:add_child((content.layout or content):form(content.data)); + cmdtag:add_child((content.layout or content):form(content.values)); elseif name == "result" then - cmdtag:add_child((content.layout or content):form(content.data, "result")); + cmdtag:add_child((content.layout or content):form(content.values, "result")); elseif name == "other" then cmdtag:add_child(content); end