diff --git a/product/ERP5/skins/erp5_core/doFavorite.py b/product/ERP5/skins/erp5_core/Base_doFavorite.py similarity index 69% rename from product/ERP5/skins/erp5_core/doFavorite.py rename to product/ERP5/skins/erp5_core/Base_doFavorite.py index 7a76543a62ea46f333b4f83339a00bd792fde470..2d493ec58746d03d691dd100bcd606e1b7d81a9f 100755 --- a/product/ERP5/skins/erp5_core/doFavorite.py +++ b/product/ERP5/skins/erp5_core/Base_doFavorite.py @@ -1,8 +1,15 @@ +## Script (Python) "Base_doFavorite" +##bind container=container +##bind context=context +##bind namespace= +##bind script=script +##bind subpath=traverse_subpath ##parameters=favorite_select, form_id='' - +##title= +## import string -#doAction = favorite_select.split() Previous implementation +#Base_doAction = favorite_select.split() Previous implementation if favorite_select.find('local_roles=') > 0: # Some local roles are defined url_items = favorite_select.split('&') # split parameters @@ -19,8 +26,8 @@ if favorite_select.find('local_roles=') > 0: favorite_select = '&'.join(new_items) -doAction = (favorite_select,) -doAction0 = doAction[0] +Base_doAction = (favorite_select,) +doAction0 = Base_doAction[0] request = context.REQUEST return request.RESPONSE.redirect(doAction0)