From: Thomas Berezansky Date: Fri, 27 May 2011 15:39:53 +0000 (-0400) Subject: Fix Hold Capture checkin mode X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ca0cc44d5f542b191e66d1b8e3cfb955e32379b9;p=contrib%2FConifer.git Fix Hold Capture checkin mode oils_persist was trumping hardcoded values. Also, change how checked is set/unset for reliability. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge --- diff --git a/Open-ILS/xul/staff_client/server/circ/checkin.xul b/Open-ILS/xul/staff_client/server/circ/checkin.xul index 6851ffbef9..046180ec03 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin.xul +++ b/Open-ILS/xul/staff_client/server/circ/checkin.xul @@ -42,9 +42,9 @@ var tab_name; if (xul_param('hold_capture')) { - var cb1 = document.getElementById('checkin_auto_print_slips'); cb1.hidden = true; cb1.checked = true; + var cb1 = document.getElementById('checkin_auto_print_slips'); cb1.hidden = true; cb1.setAttribute('checked','true'); cb1.removeAttribute('oils_persist'); var cb1_ind = document.getElementById('checkin_auto_print_slips_indicator'); cb1_ind.hidden = false; - var cb2 = document.getElementById('suppress_holds_and_transits'); cb2.hidden = true; cb2.checked = false; + var cb2 = document.getElementById('suppress_holds_and_transits'); cb2.hidden = true; cb2.removeAttribute('checked'); cb2.removeAttribute('oils_persist'); var cb2_ind = document.getElementById('suppress_holds_and_transits_indicator'); cb2_ind.hidden = true; document.getElementById('checkin_effective_date_hbox').hidden = true; document.getElementById('caption').setAttribute('label',document.getElementById('circStrings').getString('staff.circ.checkin.hold_capture'));