[open-ils-commits] [GIT] Evergreen ILS branch rel_3_3 updated. 10e607d6da26c537b3cc80c4da8ab0b58f55b80d
Evergreen Git
git at git.evergreen-ils.org
Fri Feb 21 12:25:28 EST 2020
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, rel_3_3 has been updated
via 10e607d6da26c537b3cc80c4da8ab0b58f55b80d (commit)
from 317f92c9fa2fd49089c80dd0755999abf5cd06f0 (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 10e607d6da26c537b3cc80c4da8ab0b58f55b80d
Author: Bill Erickson <berickxx at gmail.com>
Date: Mon Sep 16 11:26:23 2019 -0400
LP1841823 Marc flat editor repair slashes (AngJS)
Replace all control field spaces with backslashes in MARC Flat text
editor (AngJS edition).
Signed-off-by: Bill Erickson <berickxx at gmail.com>
Signed-off-by: Elaine Hardy <ehardy at georgialibraries.org>
diff --git a/Open-ILS/web/js/ui/default/staff/marcrecord.js b/Open-ILS/web/js/ui/default/staff/marcrecord.js
index 9fe525b10a..2e3a422a70 100644
--- a/Open-ILS/web/js/ui/default/staff/marcrecord.js
+++ b/Open-ILS/web/js/ui/default/staff/marcrecord.js
@@ -297,7 +297,7 @@ var MARC21 = {
new MARC21.Field({
record : me,
tag : line_tag(current_line),
- data : cf_line_data(current_line).replace('\\',' ','g'),
+ data : cf_line_data(current_line).replace(/\\/g, ' ')
})
);
}
@@ -367,7 +367,7 @@ var MARC21 = {
mtxt += this.fields.map( function (f) {
if (f.isControlfield()) {
- if (f.data) return '=' + f.tag + ' ' + f.data.replace(' ','\\','g');
+ if (f.data) return '=' + f.tag + ' ' + f.data.replace(/ /g, '\\');
return '=' + f.tag;
} else {
return '=' + f.tag + ' ' +
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/web/js/ui/default/staff/marcrecord.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list