$(document).ready(function() {
$("input.needsoverride").click(function() { // This must be before the radio button/checkbox switch logic
var itemnumber = this.value;
- var msg;
+ var msg = '';
switch (override_items[itemnumber].holdallowed) {
case 0: msg = _( 'This item normally cannot be put on hold.' ); break;
$("#requestany").attr("checked","checked");
}
});
+
+ $('#hold-request-form').preventDoubleFormSubmit();
});
// ]]>
</script>
</head>
-<body>
+<body id="circ_request" class="catalog">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'circ-search.inc' %]
<fieldset class="rows left">
<legend>Hold details</legend>
[% UNLESS ( multi_hold ) %]
- <form action="placerequest.pl" method="post" onsubmit="return check();" name="form">
+ <form action="placerequest.pl" method="post" onsubmit="return check();" name="form" id="hold-request-form">
[% ELSE %]
<form action="placerequest.pl" method="post" onsubmit="return checkMultiHold();" name="form">
[% END %]
<th>Last Location</th>
<th>Call no.</th>
<th>Copy no.</th>
+ [% IF itemdata_enumchron %]
+ <th>Vol no.</th>
+ [% END %]
<th>Information</th>
</tr>
[% FOREACH itemloo IN bibitemloo.itemloop %]
[% itemloo.itemcallnumber %]
</td>
<td>[% IF ( itemloo.copynumber ) %][% itemloo.copynumber %][% ELSE %] [% END %]</td>
+ [% IF itemdata_enumchron %]
+ <td>
+ [% itemloo.enumchron %]
+ </td>
+ [% END %]
<td>
[% IF ( itemloo.onloan ) %]
<span class="checkedout">Due [% itemloo.date_due %]</span>