diff src/tools/xml_tools.py @ 1473:675e0e9f1653

core , privmitivus (xmlui): add jidInput handling, with a simple String for now
author Goffi <goffi@goffi.org>
date Tue, 18 Aug 2015 10:35:44 +0200
parents c005c212b538
children 7ac073d2e7e0
line wrap: on
line diff
--- a/src/tools/xml_tools.py	Tue Aug 18 10:04:47 2015 +0200
+++ b/src/tools/xml_tools.py	Tue Aug 18 10:35:44 2015 +0200
@@ -59,6 +59,9 @@
     elif field.fieldType == 'text-single':
         widget_type = "string"
         widget_kwargs['read_only'] = read_only
+    elif field.fieldType == 'jid-single':
+        widget_type = "jid_input"
+        widget_kwargs['read_only'] = read_only
     elif field.fieldType == 'text-multi':
         widget_type = "textbox"
         widget_args[0] = u'\n'.join(field.values)