Commit eb947d5b authored by Jérome Perrin's avatar Jérome Perrin

Put box_relative_url in request.form, so that the <img rendered by OOoChart...

Put box_relative_url in request.form, so that the <img rendered by OOoChart field includes it, and that the list method is able to retrieve parameters from the box

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44001 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 26bdc1bd
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
gadget_state python: gadget.getValidationState();\n gadget_state python: gadget.getValidationState();\n
dummy python: request.set(\'is_gadget_mode\', \'1\');\n dummy python: request.set(\'is_gadget_mode\', \'1\');\n
dummy python: request.set(\'box_relative_url\', box.getRelativeUrl());\n dummy python: request.set(\'box_relative_url\', box.getRelativeUrl());\n
dummy python: request.form.update(dict(box_relative_url=box.getRelativeUrl()));\n
edit_form_id gadget/getEditFormId;\n edit_form_id gadget/getEditFormId;\n
view_form_id gadget/getViewFormId;\n view_form_id gadget/getViewFormId;\n
render_type gadget/getRenderType;\n render_type gadget/getRenderType;\n
......
697 701
\ No newline at end of file \ 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