document.getElementById('holds_line_item_tb').value = mw.G.holds_line_item;
document.getElementById('holds_footer_tb').value = mw.G.holds_footer;
test_itemsout(document.getElementById('sample_view'));
+ test_patron._current_checkouts = test_patron.checkouts();
}
function test_itemsout(sample_view) {
switch(circ_type) {
case 'itemsout' : circs = params.au.checkouts(); break;
case 'checkout' : circs = params.au._current_checkouts; break;
+ default: alert('bad!'); break;
}
for (var i = 0; i < circs.length; i++) {
params.current_circ = circs[i].circ;