[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. a6ed9cb87f4ab7fe24251e46fd2506e7d19a7087

Evergreen Git git at git.evergreen-ils.org
Tue Nov 15 15:33:10 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  a6ed9cb87f4ab7fe24251e46fd2506e7d19a7087 (commit)
      from  9cc4a539efc59830ef157b198d71420ab931ad54 (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 a6ed9cb87f4ab7fe24251e46fd2506e7d19a7087
Author: Liam Whalen <lwhalen at evergreen-dev.catalogue.nrcan.gc.ca>
Date:   Tue Nov 1 15:59:13 2011 -0400

    Aligned the MARC editor subfields to 'start' fixes long subfield display
    
    When viewing a record in the MARC editor that has extremely long
    entries in a subfield, the output would align in the center of the
    subfield making the output hard to read.  This patch adds an
    align: 'start' option to both the subfield, and the subfield code
    elements in the marcSubfield function to make the subfields align in a
     more readable manner.
    Signed-off-by: Liam Whalen <lwhalen at evergreen-dev.catalogue.nrcan.gc.ca>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js
index 5dadd35..165379c 100644
--- a/Open-ILS/xul/staff_client/server/cat/marcedit.js
+++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js
@@ -1705,6 +1705,7 @@ function marcSubfield (sf) {
             sf. at code,
             { value : sf. at code,
               class : 'plain marcSubfieldCode',
+              align: 'start',
               name : 'marcSubfieldCode',
               onmouseover : 'current_focus = this; getContextMenu(this, "subfield"); getTooltip(this, "subfield");',
               oncontextmenu : 'getContextMenu(this, "subfield");',
@@ -1716,6 +1717,7 @@ function marcSubfield (sf) {
             { value : sf.text(),
               name : sf.parent(). at tag + ':' + sf. at code,
               class : 'plain marcSubfield', 
+              align: 'start',
               onmouseover : 'getTooltip(this, "subfield");',
               contextmenu : function (event) { getAuthorityContextMenu(event.target, sf) },
               size : new String(sf.text()).length + 2,

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/xul/staff_client/server/cat/marcedit.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list