Commit fb03ad19 authored by Vincent Pelletier's avatar Vincent Pelletier

Add current_form_id as request variable. It is used in ListBox for URL...

Add current_form_id as request variable. It is used in ListBox for URL generation - because at that point it cannot guess it by itself.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11982 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f5bd3bbe
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
global actions python: here.getPortalObject().portal_actions.listFilteredActionsFor(here);\n global actions python: here.getPortalObject().portal_actions.listFilteredActionsFor(here);\n
global url here/absolute_url;\n global url here/absolute_url;\n
global current_form_id python: local_parameter_list.get(\'dialog_id\', local_parameter_list.get(\'form_id\', \'view\'));\n global current_form_id python: local_parameter_list.get(\'dialog_id\', local_parameter_list.get(\'form_id\', \'view\'));\n
dummy python: request.set(\'current_form_id\', current_form_id);\n
global current_url python: \'%s/%s\' % (url, current_form_id);\n global current_url python: \'%s/%s\' % (url, current_form_id);\n
global current_action python: here.ERP5Site_getCurrentAction(current_url, actions);\n global current_action python: here.ERP5Site_getCurrentAction(current_url, actions);\n
\n \n
......
315 316
\ 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