From 02f4bb1bf341025a9d5d2381f08155d93cad7572 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Mon, 12 Mar 2007 14:56:48 +0000
Subject: [PATCH] Fixed bug which prevented relation field to displayu popup
 menu

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13365 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_web/Base_editAndEditAsWeb.xml            | 3 +--
 .../portal_skins/erp5_web/Base_editAndViewAsWeb.xml            | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Base_editAndEditAsWeb.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Base_editAndEditAsWeb.xml
index 756c0f9c8d..136e3da50e 100644
--- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Base_editAndEditAsWeb.xml
+++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Base_editAndEditAsWeb.xml
@@ -75,7 +75,7 @@
 """\n
 # Retrieve the edit action\n
 edit_method = getattr(context, form_action)\n
-base_value = edit_method(form_id, editable_mode=editable_mode, ignore_layout=ignore_layout, **kw)\n
+return edit_method(form_id, editable_mode=editable_mode, ignore_layout=ignore_layout, **kw)\n
 </string> </value>
         </item>
         <item>
@@ -134,7 +134,6 @@ base_value = edit_method(form_id, editable_mode=editable_mode, ignore_layout=ign
                             <string>context</string>
                             <string>edit_method</string>
                             <string>_apply_</string>
-                            <string>base_value</string>
                           </tuple>
                         </value>
                     </item>
diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Base_editAndViewAsWeb.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Base_editAndViewAsWeb.xml
index a818153c12..5352bfae1c 100644
--- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Base_editAndViewAsWeb.xml
+++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Base_editAndViewAsWeb.xml
@@ -76,7 +76,7 @@
 """\n
 # Retrieve the edit action\n
 edit_method = getattr(context, form_action)\n
-base_value = edit_method(form_id, editable_mode=0, ignore_layout=ignore_layout, **kw)\n
+return edit_method(form_id, editable_mode=0, ignore_layout=ignore_layout, **kw)\n
 </string> </value>
         </item>
         <item>
@@ -135,7 +135,6 @@ base_value = edit_method(form_id, editable_mode=0, ignore_layout=ignore_layout,
                             <string>context</string>
                             <string>edit_method</string>
                             <string>_apply_</string>
-                            <string>base_value</string>
                           </tuple>
                         </value>
                     </item>
-- 
2.30.9