Owen Leonard
0c476f1508
This patch modifies several include files, removing "onclick" attributes in favor of defining events in JavaScript. A reusable "toggle" function has been added to the global JS file so that clicking elements with the class "toggle_element" will toggle the display of elements as defined in the click target's "data-element" attribute. Also changed: In subtypes_unimarc.inc some capitalization errors have been fixed and label/id pairs corrected. To test, apply the patch and clear your browser cache if necessary. - On the Acquisitions home page, click the "Orders search" header search tab. Clicking the [+] link should expand and collapse the additional search fields. - On the checkout or patron detail page, view the "Restrictions" tab. Click to add a restriction and use the datepicker to select a date. Clicking the "Clear date" link should clear the date. - Trigger the help window on any page. Clicking the "close window" button should work correctly. - Go to Administration -> Patron categories -> Edit. Checking and unchecking messaging preference options should work correctly. The "do not notify" checkbox should clear other checkboxes in that row and vice versa. - In Serials, from a subscription detail page, clicking the "Renew" button should trigger the renew popup. - Go to Acquisitions -> Vendor -> Add to basket -> From a subscription. Clicking the "Advanced search" link in the left hand sidebar should toggle the sidebar search form. - In a UNIMARC system, view the advanced search page. Clicking the "Show coded information filters" link should show additional search fields. (I tested in my MARC21 system by temporarily moving line 174 of advsearch.tt to line 172). Signed-off-by: Claire Gravely <c.gravely@arts.ac.uk> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
32 lines
2 KiB
HTML
32 lines
2 KiB
HTML
<div class="gradient">
|
|
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Acquisitions Resident Search Box -->
|
|
<div id="header_search">
|
|
<div id="supplier_search" class="residentsearch">
|
|
<p class="tip">Search vendors:</p>
|
|
<form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
|
|
<input type="text" size="25" name="supplier" id="supplier" class="focus" />
|
|
<input type="submit" class="submit" value="Submit" /></form>
|
|
</div>
|
|
<div id="orders_search" class="residentsearch">
|
|
<p class="tip">Search orders:</p>
|
|
|
|
<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
|
|
<label for="title">Title: </label> <input type="text" id="title" name="title" size="15" value="[% title %]" />
|
|
<label for="searchsupplier">Vendor:</label> <input type="text" id="searchsupplier" name="name" size="15" value="[% name|html %]" />
|
|
<input type="hidden" id="do_search" name="do_search" value="do" />
|
|
<span class="filteraction" id="filteraction_off" style="display:none"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[-]</a></span>
|
|
<span class="filteraction" id="filteraction_on"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[+]</a></span>
|
|
<input value="Submit" class="submit" type="submit" /> <a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a>
|
|
<p id="filters" style="display:none">
|
|
<label for="basket">Basket: </label><input type="text" name="basket" id="basket" />
|
|
<label for="booksellerinvoicenumber">Invoice no.: </label><input type="text" name="booksellerinvoicenumber" id="booksellerinvoicenumber" />
|
|
</p>
|
|
</form>
|
|
</div>
|
|
<ul id="tabtriggers">
|
|
<li><a href="#supplier_search">Vendor search</a></li>
|
|
<li><a href="#orders_search">Orders search</a></li>
|
|
</ul>
|
|
</div><!-- /header_search -->
|
|
</div><!-- /gradient -->
|
|
<!-- End Acquisitions Resident Search Box -->
|