select change hotfix

pull/6827/head
Markus Kahl 13 years ago
parent 7c623958b1
commit a1faa82545
  1. 6
      assets/javascripts/reporting/filters.js

@ -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) { };
}

Loading…
Cancel
Save