when narrowing values create options with their label as label (and not their value)

pull/6827/head
Philipp Tessenow 14 years ago
parent 1d624fd16b
commit 69d773c34a
  1. 2
      assets/javascripts/reporting/filters.js

@ -318,7 +318,7 @@ Reporting.Filters = {
var label = ary.first();
var value = ary.last();
// cannot use .innerhtml due to IE wierdness
$(selectBox).insert(new Element('option', {value: value}).update(value.escapeHTML()));
$(selectBox).insert(new Element('option', {value: value}).update(label.escapeHTML()));
});
Reporting.Filters.select_values(selectBox, selected);
sources.push(currentDependent); // Add as last element

Loading…
Cancel
Save