examples/pubsub.lua
changeset 53 2162188b20cf
parent 51 a95a3a73482c
child 64 bf7521ed96eb
--- a/examples/pubsub.lua	Sun Mar 22 18:15:58 2009 +0200
+++ b/examples/pubsub.lua	Sun Mar 22 19:46:26 2009 +0200
@@ -129,6 +129,7 @@
 			if x then
 				success ( x_data.parse ( x ),
 					function ( form, success, fail )
+						form.type = 'submit'
 						iq.send ( conn, to, 'set',
 							{
 								pubsub = { xmlns = 'http://jabber.org/protocol/pubsub#owner',