Skip to content
Browse files

Fix for Bug 6244, Javascript error on circulation home page

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
  • Loading branch information...
1 parent 01ccaf8 commit 87792339487dfc6464df2ac8dd79b50ebb4281ab @oleonard oleonard committed with ranginui
Showing with 1 addition and 1 deletion.
  1. +1 −1 koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
View
2 koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ -9,7 +9,7 @@
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
<script type="text/javascript">
//<![CDATA[
-if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }
+[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% END %]
[% IF ( UseTablesortForCirc ) %]$.tablesorter.addParser({
id: 'articles',
is: function(s) {return false; },

0 comments on commit 8779233

Please sign in to comment.
Something went wrong with that request. Please try again.