[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. a9342877ee70a8162e09076295d2a22c5eee3cd3
Evergreen Git
git at git.evergreen-ils.org
Tue Nov 15 15:32:57 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_1 has been updated
via a9342877ee70a8162e09076295d2a22c5eee3cd3 (commit)
from 58c4bbe2f4296fcd0670d527bbbc3ed7c5999728 (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 a9342877ee70a8162e09076295d2a22c5eee3cd3
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 919c729..d306238 100644
--- a/Open-ILS/xul/staff_client/server/cat/marcedit.js
+++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js
@@ -1707,6 +1707,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");',
@@ -1718,6 +1719,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