From 72c2a50bca0ca6a23923bf2d79a298b92b4e7b5f Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 4 Aug 2006 09:40:22 +0000 Subject: [PATCH] put Marc View in all bib summary, and avoid the modal print of death bug git-svn-id: svn://svn.open-ils.org/ILS/trunk@5290 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/bib_brief.xul | 15 +++++++++++++-- Open-ILS/xul/staff_client/server/cat/marc_view.xul | 4 ++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/cat/bib_brief.xul b/Open-ILS/xul/staff_client/server/cat/bib_brief.xul index ea481c95a3..e428966876 100644 --- a/Open-ILS/xul/staff_client/server/cat/bib_brief.xul +++ b/Open-ILS/xul/staff_client/server/cat/bib_brief.xul @@ -33,6 +33,9 @@ @@ -140,9 +148,12 @@ - + Title: + + (View MARC) + diff --git a/Open-ILS/xul/staff_client/server/cat/marc_view.xul b/Open-ILS/xul/staff_client/server/cat/marc_view.xul index 2d35ba9879..9cea451e65 100644 --- a/Open-ILS/xul/staff_client/server/cat/marc_view.xul +++ b/Open-ILS/xul/staff_client/server/cat/marc_view.xul @@ -52,8 +52,8 @@ [ docid ], function(req) { marc_html = req.getResultObject(); - document.getElementById('marc_frame').setAttribute('src', - 'data:text/html,' + marc_html); + if (g.cgi.param('noprint')||typeof xulG == 'undefined') marc_html = marc_html.replace(//, ''); + document.getElementById('marc_frame').setAttribute('src', 'data:text/html,' + marc_html); } ); -- 2.11.0