Commit db4f20cb authored by Vincent Pelletier's avatar Vincent Pelletier

Remove code computing form_id, it's already done in _redirectToOriginalForm.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24045 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 85bddcaa
...@@ -446,13 +446,6 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ): ...@@ -446,13 +446,6 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ):
if sort_on is None: if sort_on is None:
listbox_id, sort_on = form["setSelectionQuickSortOrder"].split(".", 1) listbox_id, sort_on = form["setSelectionQuickSortOrder"].split(".", 1)
if form_id is None:
if REQUEST is not None:
if form.has_key('dialog_id'):
form_id = form['dialog_id']
else:
form_id = form['form_id']
if REQUEST is not None: if REQUEST is not None:
if listbox_id is not None: if listbox_id is not None:
selection_name_key = "%s_list_selection_name" %listbox_id selection_name_key = "%s_list_selection_name" %listbox_id
......
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