From 21fbe91fbb8367937cbf1586dc211463c76238d8 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Wed, 9 Nov 2011 11:00:05 -0500 Subject: [PATCH] XML.ignoreWhitespace causes syntax errors So remove it. Disabling pretty printing appears to be enough to fix the marc editor. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge --- Open-ILS/xul/staff_client/server/cat/marcedit.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js index 7d27610391..919c72979c 100644 --- a/Open-ILS/xul/staff_client/server/cat/marcedit.js +++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js @@ -18,8 +18,6 @@ * 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[^>]+?>/; -- 2.11.0