Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
5065c94d
Commit
5065c94d
authored
May 17, 2012
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use ERP5Form rather than more generic Form as it represents an ERP5 form gadget renderer.
parent
17604a77
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
293 additions
and
295 deletions
+293
-295
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
+288
-290
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/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/erp5_form.js.xml
View file @
5065c94d
This diff is collapsed.
Click to expand it.
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/gadgets/tabular_gadget/gadget.xml
View file @
5065c94d
...
...
@@ -56,14 +56,14 @@
<div
class=
"document"
>
\n
\n
<div
class=
"actions"
>
\n
<button
onclick=
"javascript:
FormUpdater
.save(); return false;"
\n
<button
onclick=
"javascript:
ERP5Form
.save(); return false;"
\n
title=
"Save"
class=
"save"
type=
"submit"
>
\n
<span
class=
"image"
></span>
\n
<span
class=
"description"
>
Save
</span>
\n
</button>
\n
\n
<script
type=
"text/javascript"
\n
tal:content=
"python: \'\'\'Form.setCurrentFormId(\'%s\');;\'\'\' %current_form_id"
>
\n
tal:content=
"python: \'\'\'
ERP5
Form.setCurrentFormId(\'%s\');;\'\'\' %current_form_id"
>
\n
</script>
\n
\n
<!-- get all tabs from server -->
\n
...
...
@@ -74,7 +74,7 @@
tal:attributes=
"id action_form;\n
class python: action == current_action and \'selected\' or \'not_selected\'"
>
\n
\n
<a
tal:attributes=
"onclick python: \'\'\'javascript: TabbularGadget.addNewTabGadget(\'form_gadget\', \'%s/Form_asRenderJSGadget\', \'
FormUpdater.update\', \'Form_asJSON?form_id=%s\');; TabbularGadget.toggleVisibility($(\'#%s\'));;
Form.setCurrentFormId(\'%s\');;return false ;;\'\'\' %(action_form, action_form, action_form, action_form)"
>
\n
<a
tal:attributes=
"onclick python: \'\'\'javascript: TabbularGadget.addNewTabGadget(\'form_gadget\', \'%s/Form_asRenderJSGadget\', \'
ERP5Form.update\', \'Form_asJSON?form_id=%s\');; TabbularGadget.toggleVisibility($(\'#%s\'));; ERP5
Form.setCurrentFormId(\'%s\');;return false ;;\'\'\' %(action_form, action_form, action_form, action_form)"
>
\n
<span
i18n:translate=
""
\n
i18n:domain=
"ui"
\n
tal:content=
"action/name"
>
action_name
</span>
\n
...
...
@@ -91,7 +91,7 @@
<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:
FormUpdater
.update;\n
gadget:data-handler string:
ERP5Form
.update;\n
gadget:property string: {"cacheable": "1", "cache_id": "${current_form_id}"}"
>
\n
</div>
\n
\n
...
...
bt5/erp5_xhtml_gadget_style/bt/revision
View file @
5065c94d
5
\ No newline at end of file
6
\ 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