diff --git a/bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/Form_asRenderJSGadget.xml b/bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/Form_asRenderJSGadget.xml index 19ab993a2dc4b201c5217ccb1ee6bb74e75f7cda..ccae0e74901d26aed12f5073d557dad9a8c4cb03 100644 --- a/bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/Form_asRenderJSGadget.xml +++ b/bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/Form_asRenderJSGadget.xml @@ -61,7 +61,7 @@ <div data-gadget-cacheable="1"\n tal:attributes="data-gadget string:gadgets/form/${field_type}/gadget?field_name=${field_name};\n id string:${form_id}_${field_name};\n - data-gadget-cache-id string: ${form_id}_${field_name};"></div>\n + data-gadget-cache-id string:${form_id}_${field_name};"></div>\n \n </div>\n </div>\n diff --git a/bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/gadgets/tabular_gadget/gadget.xml b/bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/gadgets/tabular_gadget/gadget.xml index 9667396456b7b4ca150eba9bca8ad46141ac1dd8..6653786bf5b0e38beaf1e8eccac5f463919b0b98 100644 --- a/bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/gadgets/tabular_gadget/gadget.xml +++ b/bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/gadgets/tabular_gadget/gadget.xml @@ -90,9 +90,10 @@ <!--Form render goes here -->\n <div id="form_gadget"\n tal:attributes="data-gadget string:${current_form_id}/Form_asRenderJSGadget;\n - data-gadget:data-source string:Form_asJSON?form_id=${current_form_id};\n - data-gadget:data-handler string:ERP5Form.update;\n - data-gadget:property string: {"cacheable": "1", "cache_id": "${current_form_id}"}">\n + data-gadget-source string:Form_asJSON?form_id=${current_form_id};\n + data-gadget-handler string:ERP5Form.update;\n + data-gadget-cacheable string:1;\n + data-gadget-cache-id current_form_id;">\n </div>\n \n </div>\n diff --git a/bt5/erp5_xhtml_gadget_style/bt/revision b/bt5/erp5_xhtml_gadget_style/bt/revision index 9a037142aa3c1b4c490e1a38251620f113465330..9d607966b721abde8931ddd052181fae905db503 100644 --- a/bt5/erp5_xhtml_gadget_style/bt/revision +++ b/bt5/erp5_xhtml_gadget_style/bt/revision @@ -1 +1 @@ -10 \ No newline at end of file +11 \ No newline at end of file