Backport r12265 from trunk to fix fixed fields editor. Closes #41
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 22 Feb 2009 21:26:05 +0000 (21:26 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 22 Feb 2009 21:26:05 +0000 (21:26 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4_0@12267 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/marcedit.js

index aee2bed..118a0ba 100644 (file)
@@ -9,6 +9,7 @@ default xml namespace = marcns;
 
 var tooltip_hash = {};
 var current_focus;
+var _record;
 var _record_type;
 var bib_data;
 
@@ -1320,7 +1321,7 @@ function marcSubfield (sf) {
 
 function loadRecord(rec) {
        try {
-                       var _record = rec;
+                       _record = rec;
                        var grid_rows = document.getElementById('recGrid').lastChild;
 
                        while (grid_rows.firstChild) grid_rows.removeChild(grid_rows.firstChild);