[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. d8a3038104f96f5ffda67ee1dbf71c2f03dbac8b

Evergreen Git git at git.evergreen-ils.org
Fri May 27 11:53:02 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_0 has been updated
       via  d8a3038104f96f5ffda67ee1dbf71c2f03dbac8b (commit)
      from  102e02c2f14ba288be9c8a050a5ae1a85d3de154 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d8a3038104f96f5ffda67ee1dbf71c2f03dbac8b
Author: Thomas Berezansky <tsbere at mvlc.org>
Date:   Fri May 27 11:39:53 2011 -0400

    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 <tsbere at mvlc.org>
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>

diff --git a/Open-ILS/xul/staff_client/server/circ/checkin.xul b/Open-ILS/xul/staff_client/server/circ/checkin.xul
index 6851ffb..046180e 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'));

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/xul/staff_client/server/circ/checkin.xul |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list