[Erp5-report] r9823 - /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Sep 11 23:07:18 CEST 2006


Author: vincent
Date: Mon Sep 11 23:07:16 2006
New Revision: 9823

URL: http://svn.erp5.org?rev=9823&view=rev
Log:
Remove oddities in Base_callDialogMethod.

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

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=9823&r1=9822&r2=9823&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 Mon Sep 11 23:07:16 2006
@@ -91,16 +91,6 @@
     if v in (None, \'\') or hasattr(v, \'read\'):\n
       del cleaned_dict[k]\n
   return cleaned_dict\n
-\n
-# Make this script work alike wether called from another script or by a request\n
-# Reinject parameters in the request\n
-request_form[\'dialog_method\'] = dialog_method\n
-request_form[\'dialog_id\'] = dialog_id\n
-request_form[\'dialog_category\'] = dialog_category\n
-request_form[\'enable_pickle\'] = enable_pickle\n
-# If we get unused parameters, put them in the request\n
-for k, v in kw:\n
-  request_form[k]=v\n
 \n
 # Exceptions for UI\n
 if dialog_method == \'Base_configureUI\':\n
@@ -337,10 +327,6 @@
                             <string>request_form</string>
                             <string>error_message</string>
                             <string>removeUnpickableObjectsFromDict</string>
-                            <string>_write_</string>
-                            <string>_getiter_</string>
-                            <string>k</string>
-                            <string>v</string>
                             <string>_getitem_</string>
                             <string>value</string>
                             <string>getattr</string>
@@ -354,10 +340,14 @@
                             <string>MARKER</string>
                             <string>listbox_id_list</string>
                             <string>file_id_list</string>
+                            <string>_getiter_</string>
                             <string>field</string>
+                            <string>k</string>
+                            <string>v</string>
                             <string>hasattr</string>
                             <string>splitted</string>
                             <string>len</string>
+                            <string>_write_</string>
                             <string>log</string>
                             <string>listbox_id</string>
                             <string>listbox_line_list</string>




More information about the Erp5-report mailing list