[Erp5-report] r18524 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Dec 26 17:05:51 CET 2007
Author: rafael
Date: Wed Dec 26 17:05:51 2007
New Revision: 18524
URL: http://svn.erp5.org?rev=18524&view=rev
Log:
Modified scripts (from context bar only) to update the selection with the last (un)checked itens from listbox.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doAction.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doJump.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doPrint.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doAction.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doAction.xml?rev=18524&r1=18523&r2=18524&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doAction.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doAction.xml Wed Dec 26 17:05:51 2007
@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
- <tuple>
- <string>Products.PythonScripts.PythonScript</string>
- <string>PythonScript</string>
- </tuple>
- <none/>
+ <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+ <tuple/>
</tuple>
</pickle>
<pickle>
@@ -70,6 +67,8 @@
<key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[
+context.Base_updateListboxSelection()\n
+\n
portal = context.getPortalObject()\n
N_ = portal.Base_translateString\n
\n
@@ -201,6 +200,7 @@
<string>doAction0</string>
<string>request</string>
<string>uri</string>
+ <string>_inplacevar_</string>
<string>None</string>
<string>new_id</string>
<string>type_name</string>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doJump.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doJump.xml?rev=18524&r1=18523&r2=18524&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doJump.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doJump.xml Wed Dec 26 17:05:51 2007
@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
- <tuple>
- <string>Products.PythonScripts.PythonScript</string>
- <string>PythonScript</string>
- </tuple>
- <none/>
+ <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+ <tuple/>
</tuple>
</pickle>
<pickle>
@@ -68,7 +65,10 @@
</item>
<item>
<key> <string>_body</string> </key>
- <value> <string>import string\n
+ <value> <string># prevent lose checked itens after click to print\n
+context.Base_updateListboxSelection()\n
+\n
+import string\n
if jump_select : \n
Base_doAction = jump_select.split()\n
doAction0 = Base_doAction[0]\n
@@ -119,12 +119,12 @@
<tuple>
<string>jump_select</string>
<string>form_id</string>
+ <string>_getattr_</string>
+ <string>context</string>
<string>string</string>
- <string>_getattr_</string>
<string>Base_doAction</string>
<string>_getitem_</string>
<string>doAction0</string>
- <string>context</string>
<string>request</string>
</tuple>
</value>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doPrint.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doPrint.xml?rev=18524&r1=18523&r2=18524&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doPrint.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_doPrint.xml Wed Dec 26 17:05:51 2007
@@ -67,6 +67,8 @@
<key> <string>_body</string> </key>
<value> <string>"""This is the action for the Base_viewPrintDialog.\n
"""\n
+# prevent lose checked itens after click to print\n
+context.Base_updateListboxSelection()\n
\n
if target_language:\n
container.REQUEST[\'AcceptLanguage\'].set(target_language, 10)\n
@@ -128,9 +130,9 @@
<string>target_language</string>
<string>kw</string>
<string>_getattr_</string>
+ <string>context</string>
<string>_getitem_</string>
<string>container</string>
- <string>context</string>
<string>getattr</string>
</tuple>
</value>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=18524&r1=18523&r2=18524&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Wed Dec 26 17:05:51 2007
@@ -1,1 +1,1 @@
-659
+660
More information about the Erp5-report
mailing list