From f7b5373f8a780eaf1f3f019fcb44516fba6a840f Mon Sep 17 00:00:00 2001 From: Markus Kahl Date: Wed, 21 Sep 2011 14:59:42 +0200 Subject: [PATCH] only activate_dependents if there's actually something selected --- assets/javascripts/reporting/restore_query.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/javascripts/reporting/restore_query.js b/assets/javascripts/reporting/restore_query.js index 36a3222a6d..e3a4b5d261 100644 --- a/assets/javascripts/reporting/restore_query.js +++ b/assets/javascripts/reporting/restore_query.js @@ -38,7 +38,9 @@ Reporting.RestoreQuery = { Reporting.Filters.select_values(selectBox, selected_values); Reporting.Filters.value_changed(filter_name); } - Reporting.Filters.activate_dependents(selectBox, activateNext); + if (selectBox.getValue() !== '<>') { + Reporting.Filters.activate_dependents(selectBox, activateNext); + } }); },