Correction: Greybox js should be loaded only if XSLTDetailsDisplay is on (not only if GoogleJackets is on)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
66d2e36fa3
commit
7d2875ae4d
1 changed files with 4 additions and 6 deletions
|
@ -21,18 +21,16 @@
|
|||
dateFormat: 'uk',<!-- /TMPL_IF -->
|
||||
widgets : ['zebra'],
|
||||
sortList: [[0,0]]
|
||||
});
|
||||
|
||||
<!-- TMPL_IF NAME="GoogleJackets" -->KOHA.Google.GetCoverFromIsbn();<!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF NAME="TagsEnabled" -->$(".tagbutton").click(KOHA.Tags.add_tag_button);<!-- /TMPL_IF -->
|
||||
|
||||
});<!-- TMPL_IF NAME="GoogleJackets" -->
|
||||
KOHA.Google.GetCoverFromIsbn();<!-- /TMPL_IF --><!-- TMPL_IF NAME="TagsEnabled" -->
|
||||
$(".tagbutton").click(KOHA.Tags.add_tag_button);<!-- /TMPL_IF -->
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
<style type="text/css">
|
||||
#addtagl { display: none; }
|
||||
</style>
|
||||
<!-- TMPL_IF NAME="GoogleJackets" --><script type="text/javascript">
|
||||
<!-- TMPL_IF NAME="XSLTDetailsDisplay" --><script type="text/javascript">
|
||||
var GB_ROOT_DIR = "/intranet-tmpl/prog/en/lib/greybox/";
|
||||
</script>
|
||||
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/greybox/AJS.js"></script>
|
||||
|
|
Loading…
Reference in a new issue