[Erp5-report] r30116 - in /erp5/trunk/bt5/erp5_forge: SkinTemplateItem/portal_skins/erp5_fo...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Oct 29 15:44:13 CET 2009
Author: luke
Date: Thu Oct 29 15:44:10 2009
New Revision: 30116
URL: http://svn.erp5.org?rev=30116&view=rev
Log:
- it is enough to expose variable into script arguments, no need to use request to fetch it (thanks Jerome)
Modified:
erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Bug_doBugLineSendFastInputAction.xml
erp5/trunk/bt5/erp5_forge/bt/revision
Modified: erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Bug_doBugLineSendFastInputAction.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Bug_doBugLineSendFastInputAction.xml?rev=30116&r1=30115&r2=30116&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Bug_doBugLineSendFastInputAction.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Bug_doBugLineSendFastInputAction.xml [utf8] Thu Oct 29 15:44:10 2009
@@ -54,10 +54,6 @@
<item>
<key> <string>_body</string> </key>
<value> <string>from Products.ERP5Type.Message import translateString\n
-\n
-title = context.REQUEST.get(\'title\')\n
-text_content = context.REQUEST.get(\'text_content\')\n
-\n
bug_line = context.newContent(portal_type=\'Bug Line\',\n
title = title, text_content=text_content)\n
bug_line.start()\n
@@ -77,7 +73,7 @@
</item>
<item>
<key> <string>_params</string> </key>
- <value> <string>batch_mode=0, form_id=\'view\', *args, **kwargs</string> </value>
+ <value> <string>title=\'\', text_content=\'\', form_id=\'view\', batch_mode=0, *args, **kwargs</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
@@ -97,22 +93,22 @@
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
- <value> <int>2</int> </value>
+ <value> <int>4</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
+ <string>title</string>
+ <string>text_content</string>
+ <string>form_id</string>
<string>batch_mode</string>
- <string>form_id</string>
<string>args</string>
<string>kwargs</string>
<string>Products.ERP5Type.Message</string>
<string>translateString</string>
<string>_getattr_</string>
<string>context</string>
- <string>title</string>
- <string>text_content</string>
<string>bug_line</string>
<string>dict</string>
</tuple>
@@ -127,8 +123,10 @@
<key> <string>func_defaults</string> </key>
<value>
<tuple>
+ <string></string>
+ <string></string>
+ <string>view</string>
<int>0</int>
- <string>view</string>
</tuple>
</value>
</item>
Modified: erp5/trunk/bt5/erp5_forge/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/bt/revision?rev=30116&r1=30115&r2=30116&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_forge/bt/revision [utf8] Thu Oct 29 15:44:10 2009
@@ -1,1 +1,1 @@
-521
+522
More information about the Erp5-report
mailing list