|
|
|
@ -9,6 +9,7 @@ Reporting.Filters = { |
|
|
|
|
radio_options = $$('.' + filter_name + '_radio_option input'); |
|
|
|
|
if (radio_options && radio_options.size() !== 0) { |
|
|
|
|
radio_options.first().checked = true; |
|
|
|
|
callback_func(); |
|
|
|
|
} |
|
|
|
|
if (select === null || select === undefined) { |
|
|
|
|
return; |
|
|
|
@ -307,6 +308,9 @@ Reporting.Filters = { |
|
|
|
|
// Param: select [optional] - the select-box of the filter which should activate it's dependents
|
|
|
|
|
activate_dependents: function (selectBox, callbackWhenFinished) { |
|
|
|
|
var all_dependents, next_dependents, dependent, active_filters, source; |
|
|
|
|
if (selectBox !== undefined && selectBox.tagName.toLowerCase() !== "select") { |
|
|
|
|
return; // only multi_value filters have dependents
|
|
|
|
|
} |
|
|
|
|
if (selectBox === undefined || selectBox.type.toLowerCase() == 'change') { |
|
|
|
|
selectBox = this; |
|
|
|
|
} |
|
|
|
|