Wix: Registration form management (not finished yet)

- impoved xml conversion in xml_tools
This commit is contained in:
Goffi 2009-12-13 20:24:48 +11:00
commit 245325cea7

View file

@ -48,7 +48,6 @@ class XEP_0077():
def reg_ok(self, answer):
"""Called after the first get IQ"""
print "answer:",answer
form = data_form.Form.fromElement(answer.firstChildElement().firstChildElement())
xml_data = XMLTools.dataForm2xml(form)
self.host.bridge.actionResult("FORM", answer['id'], {"type":"registration", "xml":xml_data})