Commit 7f36318a authored by Sebastien Robin's avatar Sebastien Robin

added reseting of selection when we select a listbox action, this prevent to delete anything


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@854 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1a7ba2d0
...@@ -340,7 +340,7 @@ class ListBoxWidget(Widget.Widget): ...@@ -340,7 +340,7 @@ class ListBoxWidget(Widget.Widget):
#if selection_name is None: #if selection_name is None:
# selection_name = str(random.randrange(1,2147483600)) # selection_name = str(random.randrange(1,2147483600))
current_selection_name = REQUEST.get('selection_name','default') current_selection_name = REQUEST.get('selection_name','default')
list_action = here.absolute_url() + '/' + field.get_value('list_action') list_action = here.absolute_url() + '/' + field.get_value('list_action') + '?reset=1'
object_list = [] object_list = []
#LOG('Listbox',0,'search_columns1: %s' % str(search_columns)) #LOG('Listbox',0,'search_columns1: %s' % str(search_columns))
......
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