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:
parent
5d42e5e991
commit
f2e9701265
2 changed files with 6 additions and 10 deletions
|
@ -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 -->
|
||||
|
|
|
@ -3,14 +3,10 @@
|
|||
<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;
|
||||
});
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
|
@ -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 -->
|
||||
|
|
Loading…
Reference in a new issue