Fix Hold Capture Check-In Mode, similar to 9641dcf040798aac1e274253c8ae8a722674bcc2
authorJason Etheridge <jason@esilibrary.com>
Fri, 27 May 2011 15:59:24 +0000 (11:59 -0400)
committerJason Etheridge <jason@esilibrary.com>
Fri, 27 May 2011 16:00:37 +0000 (12:00 -0400)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/server/circ/checkin.xul

index fce7c70..096f937 100644 (file)
@@ -45,6 +45,8 @@
                 if (xul_param('hold_capture')) {
                     document.getElementById('checkin_auto').checked = true;
                     document.getElementById('checkin_auto').hidden = true;
+                    document.getElementById('checkin_auto').setAttribute('checked','true');
+                    document.getElementById('checkin_auto').removeAttribute('oils_persist');
                     document.getElementById('checkin_effective_date_hbox').hidden = true;
                     document.getElementById('caption').setAttribute('label',document.getElementById('circStrings').getString('staff.circ.checkin.hold_capture'));
                     document.getElementById('hold_capture_blurb').hidden = false;