From 534d2e23727c3f15b36a10c8342592c8d6ef5bf5 Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Tue, 13 Apr 2004 12:26:45 +0000
Subject: [PATCH] Always add a prefix to each value so that scripts can
 distinguish actions easily (e.g. workflow WORKFLOW_NAME).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@665 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/skins/erp5_html_style/menu_box.pt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/skins/erp5_html_style/menu_box.pt b/product/ERP5/skins/erp5_html_style/menu_box.pt
index ae381f8651..1a44280de1 100755
--- a/product/ERP5/skins/erp5_html_style/menu_box.pt
+++ b/product/ERP5/skins/erp5_html_style/menu_box.pt
@@ -64,17 +64,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
               <option disabled>-- workflows --</option>
               <span tal:repeat="action workflow_actions">
                <option value="1" tal:content="action/name"
-                 tal:attributes="value action/url">Saut</option>
+                 tal:attributes="value python: 'workflow ' + action['url']">Saut</option>
               </span>
               <option disabled>-- object --</option>
               <span tal:repeat="action object_actions">
                <option value="1" tal:content="action/name"
-                 tal:attributes="value action/url">Saut</option>
+                 tal:attributes="value python: 'object ' + action['url']">Saut</option>
               </span>
               <!--option disabled>-- folder --</option>
               <span tal:repeat="action folder_actions">
                <option value="1" tal:content="action/name"
-                 tal:attributes="value action/url">Saut</option>
+                 tal:attributes="value python: 'folder ' + action['url']">Saut</option>
               </span-->
             </select></td>
           <td valign="bottom" align="left" nowrap> &nbsp;
-- 
2.30.9