changeset 2435:49884c579266

template (XMLUI): added JidInputWidget
author Goffi <goffi@goffi.org>
date Wed, 15 Nov 2017 08:58:56 +0100
parents 7fa9456032e7
children b52e78cc86ed
files src/tools/common/template_xmlui.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/tools/common/template_xmlui.py	Wed Nov 15 08:58:38 2017 +0100
+++ b/src/tools/common/template_xmlui.py	Wed Nov 15 08:58:56 2017 +0100
@@ -121,6 +121,10 @@
     type = u"string"
 
 
+class JidInputWidget(xmlui.JidInputWidget, StringWidget):
+    type = u"jid"
+
+
 class TextBoxWidget(xmlui.TextWidget, InputWidget):
     type = u"textbox"