Commit 65043264 authored by Aurel's avatar Aurel

previous commit was wrong for Base_callDialogMethod

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8677 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5345ebfa
......@@ -220,12 +220,12 @@ if dialog_category == "object_search" :\n
context.portal_selections.setSelectionParamsFor(request_form[\'selection_name\'], request_form)\n
\n
# if we have checked line in listbox, modify the selection\n
listbox_uid = request.get(\'listbox_uid\', None)\n
listbox_uid = request_form.get(\'listbox_uid\', None)\n
if listbox_uid is not None:\n
uids = request.get(\'uids\')\n
uids = request_form.get(\'uids\')\n
selected_uids = context.portal_selections.updateSelectionCheckedUidList(\n
selection_name,\n
listbox_uid, uids)\n
selection_name,\n
listbox_uid, uids)\n
\n
# Remove values which doesn\'t work with make_query.\n
clean_kw = {}\n
......@@ -364,7 +364,6 @@ return context.REQUEST.RESPONSE.redirect(redirect_url)\n
<string>object_uid_list</string>
<string>error</string>
<string>N_</string>
<string>request</string>
<string>listbox_uid</string>
<string>uids</string>
<string>selection_name</string>
......
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