Wix: Registration form management (not finished yet)
- impoved xml conversion in xml_tools
This commit is contained in:
parent
f45ae91d41
commit
245325cea7
1 changed files with 130 additions and 13 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Reference in a new issue