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

Evergreen Git git at git.evergreen-ils.org
Fri Jul 19 12:08:32 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, master has been updated
       via  ad8f28f45389593b04db3aeaa7ef0c82df159a59 (commit)
      from  e66ddf9cc5f5e1415deb6cc8dce3c7d4ac50b2e7 (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 ad8f28f45389593b04db3aeaa7ef0c82df159a59
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 f62d939..61b2667 100644
--- a/Open-ILS/xul/staff_client/server/cat/marcedit.js
+++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js
@@ -727,12 +727,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();
             }
@@ -1635,7 +1638,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