Index: openacs-4/packages/acs-templating/resources/lists/select-menu.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/resources/lists/select-menu.adp,v diff -u -r1.5 -r1.6 --- openacs-4/packages/acs-templating/resources/lists/select-menu.adp 16 Jun 2015 08:53:38 -0000 1.5 +++ openacs-4/packages/acs-templating/resources/lists/select-menu.adp 7 Aug 2017 23:48:01 -0000 1.6 @@ -22,13 +22,14 @@ # where_clause { filter_where_cluse } # } # } -# - The recieving page variable must be of the type :multiple +# - The receiving page variable must be of the type :multiple # since the filter sends the values in the following way: # filter_name=filter_value&filter_name=filter_value&....&extra_variables=extra_values %> - +} + @@ -111,16 +113,22 @@
- + template::add_event_listener -id "list-filter-$filters(rownum)" -event change -script [subst { + window.location = getSelectedValues(this,'$filters(url)','$filters(filter_name)'); + }] - + template::add_event_listener -id "list-filter-$filters(rownum)" -event change -script { + window.location = this.options[this.selectedIndex].value; + } - +