(bug #4523) possibility to show / hide the filters menu

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Alex Arnaud 2010-06-24 19:26:15 +02:00 committed by Galen Charlton
parent 9efbc2d935
commit be8c7f9dd1
1 changed files with 8 additions and 2 deletions

View File

@ -129,6 +129,11 @@
<!-- TMPL_ELSE -->
$("#budgeth").treeTable();
<!-- /TMPL_IF -->
$("#filterbutton").click(function() {
$("#fundfilters").slideToggle(0);
$("#content").css({ marginLeft: $("#content").css("marginLeft") == "4em"?"15em":"4em"});
});
});
//]]>
</script>
@ -147,7 +152,7 @@
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<div class="yui-b" id="content">
<!-- TMPL_UNLESS name="delete_confirm" --><!-- TMPL_INCLUDE NAME="budgets-admin-toolbar.inc" --><!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="else" -->
@ -393,7 +398,8 @@
</div>
<div class="yui-b">
<!-- TMPL_IF NAME="else" --><form action="/cgi-bin/koha/admin/aqbudgets.pl" method="get">
<fieldset class="brief">
<a href="#" id="filterbutton">Filters</a>
<fieldset class="brief" id="fundfilters">
<h4>Fund filters</h4>
<ol>
<li>