[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. c41a96c64cae57981a5f62ae2b685817a4dbba31

Evergreen Git git at git.evergreen-ils.org
Fri Jul 19 12:09:29 EDT 2013


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_3 has been updated
       via  c41a96c64cae57981a5f62ae2b685817a4dbba31 (commit)
      from  1f99bc8a85d56f9de3089ca38e9f88dc95f661e3 (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 c41a96c64cae57981a5f62ae2b685817a4dbba31
Author: Pasi Kallinen <pasi.kallinen at pttk.fi>
Date:   Fri Jul 19 09:04:04 2013 +0300

    Fix LP#1187402: Datafield contents turned undefined in Marc Editor after adding 006, 007 or 008
    
    Signed-off-by: Pasi Kallinen <pasi.kallinen at pttk.fi>
    Signed-off-by: Dan Scott <dan at coffeecode.net>

diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js
index 186e360..07a72b5 100644
--- a/Open-ILS/xul/staff_client/server/cat/marcedit.js
+++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js
@@ -685,12 +685,15 @@ function createMARCTextbox (element,attrs) {
                     return false;
                 }
             } else if (event.keyCode == 117 && event.ctrlKey) { // ctrl + F6
+                box = null;
                 createControlField('006','                                        ');
                 loadRecord();
             } else if (event.keyCode == 118 && event.ctrlKey) { // ctrl + F7
+                box = null;
                 createControlField('007','                                        ');
                 loadRecord();
             } else if (event.keyCode == 119 && event.ctrlKey) { // ctrl + F8
+                box = null;
                 createControlField('008','                                        ');
                 loadRecord();
             }
@@ -1593,7 +1596,7 @@ function validateAuthority (button) {
         var row = rows[i];
         var tag = row.firstChild;
 
-	var done = false;
+        var done = false;
         dojo.forEach(acs.controlSetList(), function (acs_id) {
             if (done) return;
             var control_map = acs.controlSet(acs_id).control_map;

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

Summary of changes:
 Open-ILS/xul/staff_client/server/cat/marcedit.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list