diff mod_adhoc/adhoc/adhoc.lib.lua @ 250:67f03b7786af

mod_adhoc: Fix dataform creation mod_adhoc_cmd_admin, mod_adhoc_cmd_modules: adapt to work with fixed mod_adhoc
author Florian Zeitz <florob@babelmonkeys.de>
date Wed, 01 Sep 2010 22:42:58 +0200
parents 1ae653712e37
children
line wrap: on
line diff
--- a/mod_adhoc/adhoc/adhoc.lib.lua	Sat Aug 28 22:19:54 2010 +0400
+++ b/mod_adhoc/adhoc/adhoc.lib.lua	Wed Sep 01 22:42:58 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