Lines 218-224
Link Here
|
218 |
[% ELSE %] |
218 |
[% ELSE %] |
219 |
0 |
219 |
0 |
220 |
[% END %]</td> |
220 |
[% END %]</td> |
221 |
<td data-code="[% c | html %]"> |
221 |
<td data-code=[% IF i == undef %]"*"[% ELSE %]"[% c | html %]"[% END %]> |
222 |
[% IF c == undef %] |
222 |
[% IF c == undef %] |
223 |
<em>All</em> |
223 |
<em>All</em> |
224 |
[% ELSE %] |
224 |
[% ELSE %] |
Lines 230-236
Link Here
|
230 |
[% ELSE %] |
230 |
[% ELSE %] |
231 |
0 |
231 |
0 |
232 |
[% END %]</td> |
232 |
[% END %]</td> |
233 |
<td data-code="[% i | html %]"> |
233 |
<td data-code=[% IF i == undef %]"*"[% ELSE %]"[% i | html %]"[% END %]> |
234 |
[% IF i == undef %] |
234 |
[% IF i == undef %] |
235 |
<em>All</em> |
235 |
<em>All</em> |
236 |
[% ELSE %] |
236 |
[% ELSE %] |
Lines 1460-1465
Link Here
|
1460 |
} |
1460 |
} |
1461 |
}); |
1461 |
}); |
1462 |
$(edit_row).find("select").prop('disabled', false); |
1462 |
$(edit_row).find("select").prop('disabled', false); |
|
|
1463 |
$(edit_row).find("select option:selected").removeAttr('selected'); |
1463 |
$(edit_row).find("select option:first-child").attr("selected", "selected"); |
1464 |
$(edit_row).find("select option:first-child").attr("selected", "selected"); |
1464 |
$(edit_row).find("td:last input[name='clear']").remove(); |
1465 |
$(edit_row).find("td:last input[name='clear']").remove(); |
1465 |
} |
1466 |
} |
Lines 1534-1540
Link Here
|
1534 |
$(current_column).find("select option").each(function(){ |
1535 |
$(current_column).find("select option").each(function(){ |
1535 |
opt = $(this).attr('value'); |
1536 |
opt = $(this).attr('value'); |
1536 |
if ( opt == itm_code ) { |
1537 |
if ( opt == itm_code ) { |
1537 |
$(this).attr('selected', 'selected'); |
1538 |
$(this).parent().val(opt); |
1538 |
} |
1539 |
} |
1539 |
}); |
1540 |
}); |
1540 |
var current_input_id = $(current_column).children('input').first().attr('id'); |
1541 |
var current_input_id = $(current_column).children('input').first().attr('id'); |
1541 |
- |
|
|