From ce52aef6f214563949a897141be85a63816fab7d Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Tue, 20 Oct 2009 08:32:34 +0000
Subject: [PATCH] after 'portal type of portal type', ai here is just a dict.
 this change will fix current failure of testPrintActions in our functional
 tests.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29830 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml   | 4 ++--
 product/ERP5/bootstrap/erp5_xhtml_style/bt/revision           | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml
index 2cccf31b90..60a9fe1f3e 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml
@@ -80,8 +80,8 @@ for ai in print_action_list:\n
   ai_copy = ai.copy()\n
   # this is quite low level. It may require to be done from file system code in\n
   # the future.\n
-  ai_copy.data[\'original_url\'] = ai_copy[\'url\']\n
-  ai_copy.data[\'url\'] = addDialogIfNeeded(ai_copy[\'url\'])\n
+  ai_copy[\'original_url\'] = ai_copy[\'url\']\n
+  ai_copy[\'url\'] = addDialogIfNeeded(ai_copy[\'url\'])\n
   new_print_action_list.append( ai_copy )\n
 \n
 return new_print_action_list\n
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
index 147d4e7f1d..203bd07e6d 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
@@ -1 +1 @@
-845
\ No newline at end of file
+846
\ No newline at end of file
-- 
2.30.9