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

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 29 15:06:04 CET 2009


Author: jerome
Date: Thu Oct 29 15:06:03 2009
New Revision: 30107

URL: http://svn.erp5.org?rev=30107&view=rev
Log:
This script was not working with new style actions

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.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_fixDialogActions.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml?rev=30107&r1=30106&r2=30107&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml [utf8] Thu Oct 29 15:06:03 2009
@@ -80,8 +80,9 @@
   ai_copy = ai.copy()\n
   # this is quite low level. It may require to be done from file system code in\n
   # the future.\n
-  ai_copy[\'original_url\'] = ai_copy[\'url\']\n
-  ai_copy[\'url\'] = addDialogIfNeeded(ai_copy[\'url\'])\n
+  ai_copy.update(dict(\n
+                    original_url=ai_copy[\'url\'],\n
+                    url=addDialogIfNeeded(ai_copy[\'url\'])))\n
   new_print_action_list.append( ai_copy )\n
 \n
 return new_print_action_list\n
@@ -133,7 +134,7 @@
                             <string>_getiter_</string>
                             <string>ai</string>
                             <string>ai_copy</string>
-                            <string>_write_</string>
+                            <string>dict</string>
                           </tuple>
                         </value>
                     </item>

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=30107&r1=30106&r2=30107&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Thu Oct 29 15:06:03 2009
@@ -1,1 +1,1 @@
-848
+849




More information about the Erp5-report mailing list