[Erp5-report] r7059 - /erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed May 3 14:41:08 CEST 2006


Author: jerome
Date: Wed May  3 14:40:57 2006
New Revision: 7059

URL: http://svn.erp5.org?rev=7059&view=rev
Log:
add missing len() that caused Base_callDialogMethod to always call the script instead of redirecting when possible 

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml?rev=7059&r1=7058&r2=7059&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml Wed May  3 14:40:57 2006
@@ -159,7 +159,7 @@
 \n
   # If url is too long, we do not redirecting\n
   # to avoir crash <christophe at nexedi.com>\n
-  if make_query(cleanedup_kw) > 200 :\n
+  if len(make_query(cleanedup_kw)) > 200 :\n
     cannot_redirect = 1\n
 \n
   # if we cannot redirect, then call the form directly.\n




More information about the Erp5-report mailing list