webstaff: Allow global delimiter override
authorMike Rylander <mrylander@gmail.com>
Mon, 6 Apr 2015 16:55:31 +0000 (12:55 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 19 Aug 2015 17:39:15 +0000 (13:39 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/web/js/ui/default/staff/marcrecord.js

index 58b54d2..7c3f525 100644 (file)
@@ -532,7 +532,7 @@ var MARC21 = {
 
         this.ready = false;
         this.fields = [];
-        this.delimiter = '\u2021';
+        this.delimiter = MARC21.Record.delimiter ? MARC21.Record.delimiter : '\u2021';
         this.leader = '00000cam a2200205Ka 4500';
 
         if (kwargs.delimiter) this.delimiter = kwargs.delimiter;