[Erp5-report] r22065 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jun 30 10:59:44 CEST 2008
Author: romain
Date: Mon Jun 30 10:59:41 2008
New Revision: 22065
URL: http://svn.erp5.org?rev=22065&view=rev
Log:
Use Base_redirect to handle virtualhost correctly.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createCloneDocument.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createCloneDocument.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createCloneDocument.xml?rev=22065&r1=22064&r2=22065&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createCloneDocument.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createCloneDocument.xml Mon Jun 30 10:59:41 2008
@@ -88,9 +88,7 @@
if batch_mode:\n
return None\n
else:\n
- return context.ERP5Site_redirect(\'%s/%s/view\' % (\n
- parent.getUrl(), context.getId()),\n
- keep_items={\'portal_status_message\':\n
+ return context.Base_redirect(keep_items={\'portal_status_message\':\n
translateString("You are not allowed to clone this object.")})\n
\n
# prepare query params\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=22065&r1=22064&r2=22065&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Mon Jun 30 10:59:41 2008
@@ -1,1 +1,1 @@
-566
+567
More information about the Erp5-report
mailing list