Fixed: JS-error while using a global custom query w/ project filter in a project context (#15190).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12234 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
41ade07171
commit
ec5dbdb0bd
|
@ -113,6 +113,7 @@ function buildFilterRow(field, operator, values) {
|
||||||
var fieldId = field.replace('.', '_');
|
var fieldId = field.replace('.', '_');
|
||||||
var filterTable = $("#filters-table");
|
var filterTable = $("#filters-table");
|
||||||
var filterOptions = availableFilters[field];
|
var filterOptions = availableFilters[field];
|
||||||
|
if (!filterOptions) return;
|
||||||
var operators = operatorByType[filterOptions['type']];
|
var operators = operatorByType[filterOptions['type']];
|
||||||
var filterValues = filterOptions['values'];
|
var filterValues = filterOptions['values'];
|
||||||
var i, select;
|
var i, select;
|
||||||
|
|
Loading…
Reference in New Issue