[%- END %]
[%- END %]
[% IF hidden_cvar_filters %]
- <tr><td></td><td colspan="3"><a href="#" id="cvar_filter-toggle"><i>[% 'click here to edit cvars' | $T8 %]</i></a></td></tr>
- <script type='text/javascript'>
- $('#cvar_filter-toggle').click(function() { $('[id^="cvar_filter"]').toggle(); $('[id^="l_cvartd_"]').toggle(); });
- $(document).ready(function(){ $('[id^="cvar_filter_"]').hide(); $('[id^="l_cvartd_"]').hide(); });
- </script>
+ <tr class="cvar_filter-toggle-wrapper">
+ <td></td>
+ <td colspan="3">
+ <a href="javascript:void(0);" class="cvar_filter-toggle"><i>[% 'click here to edit cvars' | $T8 %]</i></a>
+ </td>
+ </tr>
+ <script type='text/javascript'>
+ $(function(){
+ $('[id^="cvar_filter_"]').hide();
+ $('[id^="l_cvartd_"]').hide();
+
+ $('a.cvar_filter-toggle').click(function(){
+ $(".cvar_filter-toggle-wrapper").hide();
+ $('[id^="cvar_filter"]').show();
+ $('[id^="l_cvartd_"]').show();
+ });
+ });
+ </script>
[% END %]