mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
This fixes the configuration stuff, because type is form not submit with setNodeConfiguration.
This commit is contained in:
parent
aa1996eba6
commit
1ed06bebcd
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ class Form(ElementBase):
|
||||||
return field
|
return field
|
||||||
|
|
||||||
def getXML(self, type='submit'):
|
def getXML(self, type='submit'):
|
||||||
|
self['type'] = type
|
||||||
log.warning("Form.getXML() is deprecated API compatibility with plugins/old_0004.py")
|
log.warning("Form.getXML() is deprecated API compatibility with plugins/old_0004.py")
|
||||||
return self.xml
|
return self.xml
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue