Commit c1188509 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Renamed from doFavorite.py to Base_doFavorite.py.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1541 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bffb05f5
## 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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment