[Erp5-report] r10179 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Sep 19 18:33:32 CEST 2006
Author: vincent
Date: Tue Sep 19 18:33:29 2006
New Revision: 10179
URL: http://svn.erp5.org?rev=10179&view=rev
Log:
Fix ERP5XhtmlStyle_getFormEnctype : get() method on forms does not work straightforward so, better use as a dict.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5XhtmlStyle_getFormEnctype.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/ERP5XhtmlStyle_getFormEnctype.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5XhtmlStyle_getFormEnctype.xml?rev=10179&r1=10178&r2=10179&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5XhtmlStyle_getFormEnctype.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5XhtmlStyle_getFormEnctype.xml Tue Sep 19 18:33:29 2006
@@ -70,7 +70,7 @@
<key> <string>_body</string> </key>
<value> <string>if form is None:\n
return None\n
-enctype = form.get(\'enctype\')\n
+enctype = form[\'enctype\']\n
if enctype in (\'\', None):\n
return None\n
return enctype\n
@@ -124,7 +124,7 @@
<tuple>
<string>form</string>
<string>None</string>
- <string>_getattr_</string>
+ <string>_getitem_</string>
<string>enctype</string>
</tuple>
</value>
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=10179&r1=10178&r2=10179&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Tue Sep 19 18:33:29 2006
@@ -1,1 +1,1 @@
-209
+210
More information about the Erp5-report
mailing list