From: dbs Date: Mon, 25 Oct 2010 15:15:49 +0000 (+0000) Subject: Improved subject formatting on summary page, and better title bookmarking X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=74dd9ad6daef2de189d41e115a046a20f104c806;p=evergreen%2Fbjwebb.git Improved subject formatting on summary page, and better title bookmarking Apply a modified version of Ben Ostrowsky's patch from https://bugs.launchpad.net/evergreen/+bug/627133 - the modifications include using BT.textContent() to retrieve the text of the subfields, and getAttribute() instead of dojo.attr() for IE support. From the description of 627133: Currently the BibTemplate code in rdetail/rdetail_summary.xml for display of subject headings only includes the 650. It should be expanded to: * include all standard subject added entry fields (or more broadly, all 6XX) * exclude control subfields (those whose subfield label is a digit) from display * only using the double-dash separator before subfields $x, $y, $z, and $v. The display text of other subfields should be separated from one another only by a space. git-svn-id: svn://svn.open-ils.org/ILS/trunk@18456 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml b/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml index 5d02f5eb3..ba243cf00 100644 --- a/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml +++ b/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml @@ -33,6 +33,7 @@ for (var i = 0; i < list.length; i++) { out += BT.textContent(list[i]) + ' '; } + document.title += ': ' + out; return out; ]]> @@ -88,24 +89,31 @@ *** summary screen with complex information, such as new search links on subjects. --> &rdetail.summary.subjects; - +