[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. 50dd31290fa17595708b60ce3d816c5146dfba44
Evergreen Git
git at git.evergreen-ils.org
Tue Nov 8 15:13:06 EST 2011
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_2_0 has been updated
via 50dd31290fa17595708b60ce3d816c5146dfba44 (commit)
from 362658d083b0860c285f9ecf009e8f5ee34de223 (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 50dd31290fa17595708b60ce3d816c5146dfba44
Author: Thomas Berezansky <tsbere at mvlc.org>
Date: Mon Nov 7 17:28:02 2011 -0500
Fix vanishing whitespace in marc editor
XML.ignoreWhitespace and XML.prettyPrinting cause whitespace to vanish.
So disable them at the top of marcedit.js.
Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
Signed-off-by: Jason Etheridge <jason at esilibrary.com>
diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js
index d768649..451e51e 100644
--- a/Open-ILS/xul/staff_client/server/cat/marcedit.js
+++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js
@@ -18,6 +18,10 @@
* GNU General Public License for more details.
*
*/
+// We need whitespace in MARC fields, so disable ignoring it
+XML.ignoreWhitespace = false;
+// Pretty printing kills whitespace too, so disable it.
+XML.prettyPrinting = false;
var xmlDeclaration = /^<\?xml version[^>]+?>/;
var serializer = new XMLSerializer();
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/xul/staff_client/server/cat/marcedit.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list