LP1848778 Use consistent MARC breaker delimiter user/berick/lp1848778-marc-html-flat-text-compat
authorBill Erickson <berickxx@gmail.com>
Fri, 18 Oct 2019 17:47:17 +0000 (13:47 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 18 Oct 2019 17:51:12 +0000 (13:51 -0400)
Use the '$' delimiter in the read-only MARC breaker view for
consistencty with the flat text MARC editor to easy copy/paste from one
to the other.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/cat/services/record.js

index 9c88137..c099e4d 100644 (file)
@@ -95,6 +95,9 @@ angular.module('egCoreMod')
                    ['$scope','egCore',
             function($scope , egCore) {
 
+                // Match the MARC flat-text editor
+                MARC21.Record.delimiter = '$';
+
                 function loadRecordBreaker() {
                     var xml;
                     if ($scope.marcXml) {