From 7a89f98c1dc38570b899bd10aa0676d555514a83 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Wed, 8 Sep 2004 12:50:47 +0000 Subject: [PATCH] Renamed from base_jump_relation.py to Base_jumpToRelatedDocument.py. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1527 20353a03-c40f-0410-a6d1-a30d3c3de9de --- ...mp_relation.py => Base_jumpToRelatedDocument.py} | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) rename product/ERP5/skins/erp5_core/{base_jump_relation.py => Base_jumpToRelatedDocument.py} (74%) diff --git a/product/ERP5/skins/erp5_core/base_jump_relation.py b/product/ERP5/skins/erp5_core/Base_jumpToRelatedDocument.py similarity index 74% rename from product/ERP5/skins/erp5_core/base_jump_relation.py rename to product/ERP5/skins/erp5_core/Base_jumpToRelatedDocument.py index 42683d7eaa..17a5631d03 100755 --- a/product/ERP5/skins/erp5_core/base_jump_relation.py +++ b/product/ERP5/skins/erp5_core/Base_jumpToRelatedDocument.py @@ -1,5 +1,12 @@ +## Script (Python) "Base_jumpToRelatedDocument" +##bind container=container +##bind context=context +##bind namespace= +##bind script=script +##bind subpath=traverse_subpath ##parameters=form_id, field_id, selection_index=0, selection_name='' - +##title= +## # Updates attributes of an Zope document # which is in a class inheriting from ERP5 Base @@ -26,7 +33,7 @@ if len(jump_reference_list)==1: else: selection_uid_list = map(lambda x:x.getUid(),jump_reference_list) kw = {'uid': selection_uid_list} - context.portal_selections.setSelectionParamsFor('Base_jumpRelationList',kw) + context.portal_selections.setSelectionParamsFor('Base_jumpToRelatedObjectList',kw) request.set('object_uid', context.getUid()) request.set('uids', selection_uid_list) - return context.Base_jumpRelationList(uids=selection_uid_list, REQUEST=request) + return context.Base_jumpToRelatedObjectList(uids=selection_uid_list, REQUEST=request) -- 2.30.9