From 9979fff1686977a399422510f1ec624c61885386 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 23 Oct 2009 09:03:37 +0000
Subject: [PATCH] "deferred_portal_skin" have to be in request at this point.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29960 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_deferred_style_core/Base_activateReport.xml           | 3 ++-
 bt5/erp5_deferred_style/bt/revision                            | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_deferred_style/SkinTemplateItem/portal_skins/erp5_deferred_style_core/Base_activateReport.xml b/bt5/erp5_deferred_style/SkinTemplateItem/portal_skins/erp5_deferred_style_core/Base_activateReport.xml
index ab111576da..1064f366c4 100644
--- a/bt5/erp5_deferred_style/SkinTemplateItem/portal_skins/erp5_deferred_style_core/Base_activateReport.xml
+++ b/bt5/erp5_deferred_style/SkinTemplateItem/portal_skins/erp5_deferred_style_core/Base_activateReport.xml
@@ -57,7 +57,7 @@
 RESPONSE =  request.RESPONSE\n
 \n
 format = request.get(\'format\', \'\')\n
-skin_name = request.get(\'deferred_portal_skin\', \'ODT\')  or \'ODT\'\n
+skin_name = request[\'deferred_portal_skin\']\n
 \n
 portal = context.getPortalObject()\n
 N_ = portal.Base_translateString\n
@@ -192,6 +192,7 @@ return context.Base_redirect(\'view\', keep_items=dict(\n
                             <string>request</string>
                             <string>RESPONSE</string>
                             <string>format</string>
+                            <string>_getitem_</string>
                             <string>skin_name</string>
                             <string>context</string>
                             <string>portal</string>
diff --git a/bt5/erp5_deferred_style/bt/revision b/bt5/erp5_deferred_style/bt/revision
index fc9afb48e0..eebd1d10b6 100644
--- a/bt5/erp5_deferred_style/bt/revision
+++ b/bt5/erp5_deferred_style/bt/revision
@@ -1 +1 @@
-59
\ No newline at end of file
+61
\ No newline at end of file
-- 
2.30.9