Revision f5eef55a
Von Sven Schöling vor etwa 13 Jahren hinzugefügt
templates/webpages/oe/sales_order.html | ||
---|---|---|
21 | 21 |
<td align="[% row1.align %]"[% IF row1.nowrap %] nowrap[% END %]>[% row1.value %]</td> |
22 | 22 |
[%- END %] |
23 | 23 |
</tr> |
24 |
<tr style='display:none'> |
|
25 |
<td> |
|
24 | 26 |
[%- FOREACH hidden = row.HIDDENS %] |
25 |
[% hidden.value %] |
|
27 |
[% hidden.value %]
|
|
26 | 28 |
[%- END %] |
29 |
</td> |
|
30 |
</tr> |
|
27 | 31 |
<tr class="listrow[% loop.count % 2 %]" id="[% loop.count %].row2" [% UNLESS show_details %]style="display:none;"[% END %]> |
28 | 32 |
<td colspan="[% row.colspan %]"> |
29 | 33 |
[%- FOREACH row2 = row.ROW2 %] |
... | ... | |
42 | 46 |
</table> |
43 | 47 |
</td> |
44 | 48 |
</tr> |
49 |
<tr style='display:none'> |
|
50 |
<td> |
|
45 | 51 |
<script type='text/javascript'> |
46 | 52 |
$(document).ready( function(){ $('#display_row tr:gt(1) input[name*="description"]').focus() }); |
47 | 53 |
</script> |
54 |
</td> |
|
55 |
</tr> |
Auch abrufbar als: Unified diff
hiddens und javascript in display:none zeilen einpacken, im table konstrukt sind sie nicht erlaubt.