Javascript correction for opac-MARCdetail link, nomenclature correction: reserve-> hold.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Owen Leonard 2008-03-01 18:31:53 +13:00 committed by Joshua Ferraro
parent 5d42e5e991
commit f2e9701265
2 changed files with 6 additions and 10 deletions

View file

@ -37,7 +37,7 @@
<!-- TMPL_UNLESS name="bi_notforloan" -->
<!-- TMPL_IF NAME="RequestOnOpac" -->
<li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
Place Reserve
Place Hold
</a></li>
<!-- /TMPL_IF -->
<!-- /TMPL_UNLESS -->

View file

@ -3,13 +3,9 @@
<script type="text/JavaScript" language="JavaScript">
//<![CDATA[
$(document).ready(function() {
var $tabs = $('#bibliodescriptions > ul').tabs({
click: function(tab) {
if ( $(tab).attr("class") == 'external') {
location.href = tab.href;
return false;
}
}
$('#bibliodescriptions > ul').tabs().bind('select.ui-tabs', function(e, ui) {
location.href = $.data(ui.tab, 'load.ui-tabs');
return false;
});
});
//]]>
@ -160,7 +156,7 @@ var $tabs = $('#bibliodescriptions > ul').tabs({
<!-- TMPL_UNLESS name="bi_notforloan" -->
<!-- TMPL_IF NAME="RequestOnOpac" -->
<li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
Place Reserve
Place Hold
</a></li>
<!-- /TMPL_IF -->
<!-- /TMPL_UNLESS -->