Commit 66ed6d58 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_xhtml_style] Load JS/CSS even if field is in the hidden group

Listbox can embed rjs gadget
parent 2b24ec54
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
/> />
<tal:block <tal:block
tal:condition="python: form is not None" tal:condition="python: form is not None"
tal:repeat="field python: [field for group in form.get_groups(include_empty=0) if group != 'hidden' for field in form.get_fields_in_group(group)]" tal:repeat="field python: [field for group in form.get_groups(include_empty=0) for field in form.get_fields_in_group(group)]"
> >
<style <style
tal:define="css python: field.render_css(REQUEST=request)" tal:define="css python: field.render_css(REQUEST=request)"
...@@ -87,4 +87,4 @@ ...@@ -87,4 +87,4 @@
<tal:block metal:define-macro="http_definitions"> <tal:block metal:define-macro="http_definitions">
<tal:block tal:replace="structure python: modules['ZTUtils'].make_hidden_input(**http_parameter_list)" /> <tal:block tal:replace="structure python: modules['ZTUtils'].make_hidden_input(**http_parameter_list)" />
</tal:block> </tal:block>
</tal:block> </tal:block>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment