Commit 4a245e18 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Always update the selection.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@544 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0c90080b
##parameters=action_select, form_id='', selection_index='', selection_name=''
##parameters=action_select, form_id='', selection_index='', selection_name='', uids=None, listbox_uid=None
import string
......@@ -6,6 +6,9 @@ doAction = action_select.split()
doAction0 = doAction[0]
request = context.REQUEST
# First, update checked uids if uids is not None.
context.portal_selections.updateSelectionCheckedUidList(selection_name, uids=uids, listbox_uid=listbox_uid, REQUEST=request)
# If single word, then jump to that view
if len(doAction) == 1:
if doAction0.find('?') >= 0:
......
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