fix javascript syntax mistake in application.js (#11885)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10486 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7690aff8bd
commit
9c3543ac3f
|
@ -152,10 +152,10 @@ function buildFilterRow(field, operator, values) {
|
|||
var option = $('<option>');
|
||||
if ($.isArray(filterValue)) {
|
||||
option.val(filterValue[1]).text(filterValue[0]);
|
||||
if (values.indexOf(filterValue[1]) > -1) {option.attr('selected', true)};
|
||||
if (values.indexOf(filterValue[1]) > -1) {option.attr('selected', true);}
|
||||
} else {
|
||||
option.val(filterValue).text(filterValue);
|
||||
if (values.indexOf(filterValue) > -1) {option.attr('selected', true)};
|
||||
if (values.indexOf(filterValue) > -1) {option.attr('selected', true);}
|
||||
}
|
||||
select.append(option);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue