fix ; position of if(){} at application.js (#13811)
Contributed by Adrian Wilkins. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11732 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
485ce41523
commit
de26e3fb85
|
@ -131,7 +131,7 @@ function buildFilterRow(field, operator, values) {
|
||||||
select = tr.find('td.operator select');
|
select = tr.find('td.operator select');
|
||||||
for (i=0;i<operators.length;i++){
|
for (i=0;i<operators.length;i++){
|
||||||
var option = $('<option>').val(operators[i]).text(operatorLabels[operators[i]]);
|
var option = $('<option>').val(operators[i]).text(operatorLabels[operators[i]]);
|
||||||
if (operators[i] == operator) {option.attr('selected', true)};
|
if (operators[i] == operator) { option.attr('selected', true); }
|
||||||
select.append(option);
|
select.append(option);
|
||||||
}
|
}
|
||||||
select.change(function(){toggleOperator(field)});
|
select.change(function(){toggleOperator(field)});
|
||||||
|
@ -146,7 +146,7 @@ function buildFilterRow(field, operator, values) {
|
||||||
' <span class="toggle-multiselect"> </span></span>'
|
' <span class="toggle-multiselect"> </span></span>'
|
||||||
);
|
);
|
||||||
select = tr.find('td.values select');
|
select = tr.find('td.values select');
|
||||||
if (values.length > 1) {select.attr('multiple', true)};
|
if (values.length > 1) { select.attr('multiple', true); }
|
||||||
for (i=0;i<filterValues.length;i++){
|
for (i=0;i<filterValues.length;i++){
|
||||||
var filterValue = filterValues[i];
|
var filterValue = filterValues[i];
|
||||||
var option = $('<option>');
|
var option = $('<option>');
|
||||||
|
@ -189,7 +189,7 @@ function buildFilterRow(field, operator, values) {
|
||||||
var filterValue = allProjects[i];
|
var filterValue = allProjects[i];
|
||||||
var option = $('<option>');
|
var option = $('<option>');
|
||||||
option.val(filterValue[1]).text(filterValue[0]);
|
option.val(filterValue[1]).text(filterValue[0]);
|
||||||
if (values[0] == filterValue[1]) {option.attr('selected', true)};
|
if (values[0] == filterValue[1]) { option.attr('selected', true); }
|
||||||
select.append(option);
|
select.append(option);
|
||||||
}
|
}
|
||||||
case "integer":
|
case "integer":
|
||||||
|
|
Loading…
Reference in New Issue