# HG changeset patch # User Goffi # Date 1516781652 -3600 # Node ID eabfb53f77779369a906fe129ad01a074ffcf3fd # Parent 65d41e16d1e0b1223e8b0fad9ed257349ad3ecaf input(xmlui): follow changes for OnClick data object in backend diff -r 65d41e16d1e0 -r eabfb53f7777 default/input/xmlui.html --- a/default/input/xmlui.html Mon Jan 22 22:02:33 2018 +0100 +++ b/default/input/xmlui.html Wed Jan 24 09:14:12 2018 +0100 @@ -80,7 +80,7 @@ {% for xmlui in xmlui_items %} - {% set link=on_click.formatUrl(xmlui.widget_value) if on_click.url else none %} + {% set link=on_click.formatUrl(item=xmlui.widget_value) if on_click.url else none %} {% for name,label in fields %} @@ -107,7 +107,7 @@ @param formatters(dict): dictionary of templates to format values: field_name => template if no formatter is set (or None is used) for a field, it will be used unmodified. - current xmlui items will be set as "item" key + current xmlui items will be set as "item" key for the template @param item_class_fields(iterable[unicode]): name of fields to use as class class will be "{name}_{value}" where name is field name, and value field value all lowercase/stripped @@ -122,7 +122,7 @@