Commit 6cc14ca4 authored by Vincent Pelletier's avatar Vincent Pelletier

TemplateTool_viewInstallRepositoryBusinessTemplateListDialog:...

TemplateTool_viewInstallRepositoryBusinessTemplateListDialog: listbox_provision_list is not meant to be displayed.
Base_edit: must use form_id to redirect, definitelly not dialog_id.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8719 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 66ee9831
......@@ -247,12 +247,12 @@ else:\n
redirect_url = \'%s/%s?editable_mode=1\' % (context.REQUEST.URL1, form_id)\n
elif not selection_index:\n
redirect_url = \'%s/%s?portal_status_message=%s\' % (context.absolute_url(),\n
dialog_id,\n
form_id,\n
message)\n
else:\n
redirect_url = \'%s/%s?selection_index=%s&selection_name=%s&portal_status_message=%s\' % (\n
context.absolute_url(),\n
dialog_id,\n
form_id,\n
selection_index,\n
selection_name,\n
message)\n
......
......@@ -81,7 +81,6 @@
<value>
<list>
<string>listbox</string>
<string>listbox_provision_list</string>
</list>
</value>
</item>
......@@ -90,6 +89,7 @@
<value>
<list>
<string>listbox_dependency_list</string>
<string>listbox_provision_list</string>
</list>
</value>
</item>
......
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