|
|
|
@ -308,12 +308,12 @@ 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; |
|
|
|
|
} |
|
|
|
|
if (selectBox.tagName.toLowerCase() !== "select") { |
|
|
|
|
return; // only multi_value filters have dependents
|
|
|
|
|
} |
|
|
|
|
if (callbackWhenFinished === undefined) { |
|
|
|
|
callbackWhenFinished = function(dependent) { }; |
|
|
|
|
} |
|
|
|
|