[Erp5-report] r10579 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 5 16:10:58 CEST 2006


Author: romain
Date: Thu Oct  5 16:10:56 2006
New Revision: 10579

URL: http://svn.erp5.org?rev=10579&view=rev
Log:
Fix RelationField bug.
It does not raise a error anymore when nothing is selected in the dialog.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_callDialogMethod.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_callDialogMethod.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_callDialogMethod.xml?rev=10579&r1=10578&r2=10579&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_callDialogMethod.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_callDialogMethod.xml Thu Oct  5 16:10:56 2006
@@ -129,7 +129,7 @@
                                    selection_name=request_form[\'selection_name\'],\n
                                    selection_index=request_form[\'selection_index\'],\n
                                    uids=request_form.get(\'uids\', ()),\n
-                                   listbox_uid=request_form[\'listbox_uid\'],\n
+                                   listbox_uid=request_form.get(\'listbox_uid\', None),\n
                                    form_pickle=request_form[\'form_pickle\'],\n
                                    form_signature=request_form[\'form_signature\'])\n
 # Exception for create relation\n
@@ -339,8 +339,8 @@
                             <string>_getitem_</string>
                             <string>value</string>
                             <string>getattr</string>
+                            <string>None</string>
                             <string>_apply_</string>
-                            <string>None</string>
                             <string>form_context</string>
                             <string>form</string>
                             <string>validation_errors</string>

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=10579&r1=10578&r2=10579&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Thu Oct  5 16:10:56 2006
@@ -1,1 +1,1 @@
-249
+251




More information about the Erp5-report mailing list