diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-10-26 06:56:35 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-10-26 06:56:35 +0000 |
commit | ec5dbdb0bde1624275d38090104395953bdcb5fd (patch) | |
tree | 49fe80c4e39c0b52e0ff7535a91b7dfa6341b82e /public | |
parent | 41ade0717105c3a28ac81215aae55ab315a3b399 (diff) | |
download | redmine-ec5dbdb0bde1624275d38090104395953bdcb5fd.tar.gz redmine-ec5dbdb0bde1624275d38090104395953bdcb5fd.zip |
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
Diffstat (limited to 'public')
-rw-r--r-- | public/javascripts/application.js | 1 |
1 files changed, 1 insertions, 0 deletions
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; |