[open-ils-commits] [GIT] Evergreen ILS branch master updated. ca0cc44d5f542b191e66d1b8e3cfb955e32379b9

Evergreen Git git at git.evergreen-ils.org
Fri May 27 11:53:01 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, master has been updated
       via  ca0cc44d5f542b191e66d1b8e3cfb955e32379b9 (commit)
      from  bbc874ddb42ac05130ccfad92fc55ccebd6af882 (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 ca0cc44d5f542b191e66d1b8e3cfb955e32379b9
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