[open-ils-commits] r19016 - trunk/Open-ILS/xul/staff_client/server/cat (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Dec 18 00:12:53 EST 2010
Author: dbs
Date: 2010-12-18 00:12:50 -0500 (Sat, 18 Dec 2010)
New Revision: 19016
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
Log:
Display the tag of the displayed authority record in MARC Editor context
We currently display both 1xx and 5xx fields in the authority record,
but do not display the tag. This can lead to some confusion when a 5xx
field is actually present. Ergo, show the tag to disambiguate the fields
in the authority browse selection interface.
Modified: trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js 2010-12-18 04:47:14 UTC (rev 19015)
+++ trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js 2010-12-18 05:12:50 UTC (rev 19016)
@@ -2446,7 +2446,8 @@
dojo.query('datafield[tag^="1"], datafield[tag^="5"]', record).forEach(function(field) {
var row = createRow(
- {},
+ { },
+ createLabel( { "value" : dojo.attr(field, 'tag') } ),
createLabel( { "value" : dojo.attr(field, 'ind1') } ),
createLabel( { "value" : dojo.attr(field, 'ind2') } )
);
More information about the open-ils-commits
mailing list