changeset 1078:bb4517e69957

tools (xmlui): data form 'text-multi' element must be converted to xmlui 'textbox' (not 'text')
author souliane <souliane@mailoo.org>
date Wed, 18 Jun 2014 14:55:35 +0200
parents 387bbc459d8f
children c0ef97002ef4
files src/tools/xml_tools.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/tools/xml_tools.py	Wed Jun 18 14:52:52 2014 +0200
+++ b/src/tools/xml_tools.py	Wed Jun 18 14:55:35 2014 +0200
@@ -56,7 +56,7 @@
     elif field.fieldType == 'text-single':
         widget_type = "string"
     elif field.fieldType == 'text-multi':
-        widget_type = "text"
+        widget_type = "textbox"
         widget_args[0] = u'\n'.join(field.values)
     elif field.fieldType == 'text-private':
         widget_type = "password"