Group filters in the filter select list (#13849).

git-svn-id: http://svn.redmine.org/redmine/trunk@13662 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2014-11-28 09:31:56 +00:00
parent 86d8acb344
commit 4d2688e7a8
3 changed files with 78 additions and 14 deletions

View File

@@ -127,7 +127,7 @@ function addFilter(field, operator, values) {
}
$('#cb_'+fieldId).prop('checked', true);
toggleFilter(field);
$('#add_filter_select').val('').children('option').each(function() {
$('#add_filter_select').val('').find('option').each(function() {
if ($(this).attr('value') == field) {
$(this).attr('disabled', true);
}