[Erp5-report] r35201 jerome - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: Skin...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 12 14:40:05 CEST 2010
Author: jerome
Date: Wed May 12 14:40:02 2010
New Revision: 35201
URL: http://svn.erp5.org?rev=35201&view=rev
Log:
Reset selection when we change proxy listbox ids
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doRelationDialog.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_doRelationDialog.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doRelationDialog.xml?rev=35201&r1=35200&r2=35201&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doRelationDialog.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doRelationDialog.xml [utf8] Wed May 12 14:40:02 2010
@@ -60,14 +60,10 @@
\n
context.REQUEST.set("proxy_listbox_id", select_dialog )\n
\n
-# Remove portal_type from selection params when changing the listbox\n
+# Reset selection when changing the listbox (request parameters will be kept)\n
stool = context.getPortalObject().portal_selections\n
-selection_params = stool.getSelectionParamsFor("Base_viewRelatedObjectList")\n
-selection_params.pop(\'portal_type\', None)\n
-stool.setSelectionParamsFor("Base_viewRelatedObjectList", selection_params)\n
-\n
-\n
-return getattr(context, "Base_viewRelatedObjectList")(REQUEST=context.REQUEST)\n
+stool.setSelectionFor("Base_viewRelatedObjectList", None)\n
+return context.Base_viewRelatedObjectList(REQUEST=context.REQUEST)\n
</string> </value>
</item>
<item>
@@ -111,7 +107,6 @@
<string>Base_updateListboxSelection</string>
<string>_getattr_</string>
<string>stool</string>
- <string>selection_params</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=35201&r1=35200&r2=35201&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] Wed May 12 14:40:02 2010
@@ -1,1 +1,1 @@
-942
+943
More information about the Erp5-report
mailing list