remove debug output
[MojoFacets.git] / templates / data / items.html.ep
index 835dbe3..96361e1 100644 (file)
@@ -79,14 +79,19 @@ timefmt: <input name=timefmt value="<%= $timefmt %>">
 <li>columns: <%= join(',',@$columns) %>
 <li>numeric: <%= dumper $numeric %>
 <li>order: <%= session('order') %> sort: <%= session('sort') %>
-<li>filters: <%= dumper $filters %>
+%#<li>filters: <%= dumper $filters %>
 </ul>
 
 <script type="text/javascript">
 $(document).ready( function(){
        $('select[name=limit]').change( function(){
-               console.debug( 'limit changed', this );
+               console.debug( 'limit', this );
                $(this).closest('form').submit();
        });
+       $('input[name=export]').change( function(){
+               console.debug( 'export', this );
+               if ( this.checked )
+                       $(this).closest('form').submit();
+       });
 });
 </script>