@@ -131,7 +131,7 function buildFilterRow(field, operator, values) { | |||
|
131 | 131 | select = tr.find('td.operator select'); |
|
132 | 132 | for (i=0;i<operators.length;i++){ |
|
133 | 133 | var option = $('<option>').val(operators[i]).text(operatorLabels[operators[i]]); |
|
134 |
if (operators[i] == operator) {option.attr('selected', true)} |
|
|
134 | if (operators[i] == operator) { option.attr('selected', true); } | |
|
135 | 135 | select.append(option); |
|
136 | 136 | } |
|
137 | 137 | select.change(function(){toggleOperator(field)}); |
@@ -146,7 +146,7 function buildFilterRow(field, operator, values) { | |||
|
146 | 146 | ' <span class="toggle-multiselect"> </span></span>' |
|
147 | 147 | ); |
|
148 | 148 | select = tr.find('td.values select'); |
|
149 |
if (values.length > 1) {select.attr('multiple', true)} |
|
|
149 | if (values.length > 1) { select.attr('multiple', true); } | |
|
150 | 150 | for (i=0;i<filterValues.length;i++){ |
|
151 | 151 | var filterValue = filterValues[i]; |
|
152 | 152 | var option = $('<option>'); |
@@ -189,7 +189,7 function buildFilterRow(field, operator, values) { | |||
|
189 | 189 | var filterValue = allProjects[i]; |
|
190 | 190 | var option = $('<option>'); |
|
191 | 191 | option.val(filterValue[1]).text(filterValue[0]); |
|
192 |
if (values[0] == filterValue[1]) {option.attr('selected', true)} |
|
|
192 | if (values[0] == filterValue[1]) { option.attr('selected', true); } | |
|
193 | 193 | select.append(option); |
|
194 | 194 | } |
|
195 | 195 | case "integer": |
General Comments 0
You need to be logged in to leave comments.
Login now