Revision e1c783f7
Von Thomas Heck vor etwa 12 Jahren hinzugefügt
templates/webpages/amcvar/search_filter.html | ||
---|---|---|
53 | 53 |
[%- END %] |
54 | 54 |
[%- END %] |
55 | 55 |
[% IF hidden_cvar_filters %] |
56 |
<tr><td></td><td colspan="3"><a href="#" id="cvar_filter-toggle"><i>[% 'click here to edit cvars' | $T8 %]</i></a></td></tr> |
|
57 |
<script type='text/javascript'> |
|
58 |
$('#cvar_filter-toggle').click(function() { $('[id^="cvar_filter"]').toggle(); $('[id^="l_cvartd_"]').toggle(); }); |
|
59 |
$(document).ready(function(){ $('[id^="cvar_filter_"]').hide(); $('[id^="l_cvartd_"]').hide(); }); |
|
60 |
</script> |
|
56 |
<tr class="cvar_filter-toggle-wrapper"> |
|
57 |
<td></td> |
|
58 |
<td colspan="3"> |
|
59 |
<a href="javascript:void(0);" class="cvar_filter-toggle"><i>[% 'click here to edit cvars' | $T8 %]</i></a> |
|
60 |
</td> |
|
61 |
</tr> |
|
62 |
<script type='text/javascript'> |
|
63 |
$(function(){ |
|
64 |
$('[id^="cvar_filter_"]').hide(); |
|
65 |
$('[id^="l_cvartd_"]').hide(); |
|
66 |
|
|
67 |
$('a.cvar_filter-toggle').click(function(){ |
|
68 |
$(".cvar_filter-toggle-wrapper").hide(); |
|
69 |
$('[id^="cvar_filter"]').show(); |
|
70 |
$('[id^="l_cvartd_"]').show(); |
|
71 |
}); |
|
72 |
}); |
|
73 |
</script> |
|
61 | 74 |
[% END %] |
Auch abrufbar als: Unified diff
Das Einblenden von ausgeblendeten CVar-Filtern gefixt.