only make filter appear with an effect if we explicitly add it

pull/6827/head
jwollert 14 years ago
parent f6039d1c08
commit 0a5dec60c0
  1. 4
      assets/javascripts/reporting/filters.js

@ -34,7 +34,7 @@ Reporting.Filters = {
options.callback_func = function () {};
}
if (options.slowly === undefined) {
options.slowly = true;
options.slowly = false;
}
if (options.show_filter === undefined) {
options.show_filter = true;
@ -98,7 +98,7 @@ Reporting.Filters = {
add_filter: function (select) {
var field;
field = select.value;
Reporting.Filters.show_filter(field);
Reporting.Filters.show_filter(field, { slowly: true });
select.selectedIndex = 0;
Reporting.Filters.select_option_enabled(select, field, false);
},

Loading…
Cancel
Save