From 6cc14ca4e86d4a259a3e883d34ed6840bf6ba573 Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Mon, 24 Jul 2006 15:36:46 +0000
Subject: [PATCH] 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
---
 .../SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml     | 4 ++--
 ...teTool_viewInstallRepositoryBusinessTemplateListDialog.xml | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml
index be54184e42..d29827ed89 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml
@@ -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
diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_viewInstallRepositoryBusinessTemplateListDialog.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_viewInstallRepositoryBusinessTemplateListDialog.xml
index feb882b899..ef91c1721e 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_viewInstallRepositoryBusinessTemplateListDialog.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_viewInstallRepositoryBusinessTemplateListDialog.xml
@@ -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>
-- 
2.30.9