Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
53e63ce1
Commit
53e63ce1
authored
Aug 24, 2012
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RenderJs uses now custom HTML5 attributes which have a "data-" prefix
parent
da38e142
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/Form_asRenderJSGadget.xml
...l_skins/erp5_xhtml_gadget_style/Form_asRenderJSGadget.xml
+2
-2
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/erp5_form.js.xml
...tem/portal_skins/erp5_xhtml_gadget_style/erp5_form.js.xml
+1
-1
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/gadgets/tabular_gadget/gadget.xml
...erp5_xhtml_gadget_style/gadgets/tabular_gadget/gadget.xml
+4
-4
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/view_main_disable.xml
...ortal_skins/erp5_xhtml_gadget_style/view_main_disable.xml
+2
-2
bt5/erp5_xhtml_gadget_style/bt/revision
bt5/erp5_xhtml_gadget_style/bt/revision
+1
-1
No files found.
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/Form_asRenderJSGadget.xml
View file @
53e63ce1
...
...
@@ -60,9 +60,9 @@
<!-- <span tal:replace="structure python: getattr(here.gadgets.form, field_type).gadget(field_name=field_name)"/> -->
\n
\n
<!-- XXX: render gadget asynchronously -->
\n
<div
tal:attributes=
"gadget string:gadgets/form/${field_type}/gadget?field_name=${field_name};\n
<div
tal:attributes=
"
data-
gadget string:gadgets/form/${field_type}/gadget?field_name=${field_name};\n
id string:${form_id}_${field_name};\n
gadget:property string: {"cacheable": "1", "cache_id": "${form_id}_${field_name}"}"
></div>
\n
data-
gadget:property string: {"cacheable": "1", "cache_id": "${form_id}_${field_name}"}"
></div>
\n
\n
</div>
\n
</div>
\n
...
...
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/erp5_form.js.xml
View file @
53e63ce1
...
...
@@ -8,7 +8,7 @@
<dictionary>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts
37261735.49
</string>
</value>
<value>
<string>
ts
45811421.8
</string>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
...
...
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/gadgets/tabular_gadget/gadget.xml
View file @
53e63ce1
...
...
@@ -89,10 +89,10 @@
\n
<!--Form render goes here -->
\n
<div
id=
"form_gadget"
\n
tal:attributes=
"gadget string:${current_form_id}/Form_asRenderJSGadget;\n
gadget:data-source string:Form_asJSON?form_id=${current_form_id};\n
gadget:data-handler string:ERP5Form.update;\n
gadget:property string: {"cacheable": "1", "cache_id": "${current_form_id}"}"
>
\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
</div>
\n
\n
</div>
\n
...
...
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/view_main_disable.xml
View file @
53e63ce1
...
...
@@ -71,8 +71,8 @@
\074script src="erp5_form.js"\076\074/script\076\n
\n
\074div id="content"\n
gadget="gadgets/content/gadget"\n
tal:attributes="gadget string:gadgets/tabular_gadget/gadget?object_path=${object_path}\046current_form_id=${form_id}"\076\074/div\076\n
data-
gadget="gadgets/content/gadget"\n
tal:attributes="
data-
gadget string:gadgets/tabular_gadget/gadget?object_path=${object_path}\046current_form_id=${form_id}"\076\074/div\076\n
\n
\074script type="text/javascript" language="javascript"\076\n
//\074![CDATA[\n
...
...
bt5/erp5_xhtml_gadget_style/bt/revision
View file @
53e63ce1
8
\ No newline at end of file
9
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment