From a8b302b27d796a07d9b78b91909140020741a170 Mon Sep 17 00:00:00 2001 From: Goffi Date: Wed, 15 Nov 2017 08:58:56 +0100 Subject: [PATCH] template (XMLUI): added JidInputWidget --- src/tools/common/template_xmlui.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tools/common/template_xmlui.py b/src/tools/common/template_xmlui.py index 996ada4f..c078bdf2 100644 --- a/src/tools/common/template_xmlui.py +++ b/src/tools/common/template_xmlui.py @@ -121,6 +121,10 @@ class StringWidget(xmlui.StringWidget, InputWidget): type = u"string" +class JidInputWidget(xmlui.JidInputWidget, StringWidget): + type = u"jid" + + class TextBoxWidget(xmlui.TextWidget, InputWidget): type = u"textbox"