[open-ils-commits] [GIT] Evergreen ILS branch master updated. fc8925034444d844d6028d0984a2d3f971f2d746

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, master has been updated
       via  fc8925034444d844d6028d0984a2d3f971f2d746 (commit)
      from  ef82b6171473d9f4c705e5bd1db592d72746ae2d (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 fc8925034444d844d6028d0984a2d3f971f2d746
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 066a084..9663e72 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