webstaff: add support for editing authority records
[working/Evergreen.git] / Open-ILS / web / js / ui / default / staff / cat / services / marcedit.js
index 8f52306..1345415 100644 (file)
@@ -469,7 +469,7 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap'])
                 $scope.controlfields = [];
                 $scope.datafields = [];
 
-                egTagTable.loadTagTable();
+                egTagTable.loadTagTable({ marcRecordType : $scope.record_type });
 
                 $scope.saveFlatTextMARC = function () {
                     $scope.record = new MARC21.Record({ marcbreaker : $scope.flat_text_marc });