diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 8ffef5bf0..4ffef12f3 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -113,6 +113,7 @@ function buildFilterRow(field, operator, values) { var fieldId = field.replace('.', '_'); var filterTable = $("#filters-table"); var filterOptions = availableFilters[field]; + if (!filterOptions) return; var operators = operatorByType[filterOptions['type']]; var filterValues = filterOptions['values']; var i, select;