From f9cada787493a2fe6342c9457ec7734c8918242c Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 6 Feb 2006 19:35:27 +0000 Subject: [PATCH] cosmetic/informational git-svn-id: svn://svn.open-ils.org/ILS/trunk@2984 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../staff_client/server/cat/copy_editor.js | 12 ++++++++++++ .../staff_client/server/cat/copy_editor.xul | 19 +++++++++++++------ 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/cat/copy_editor.js b/Open-ILS/xul/staff_client/server/cat/copy_editor.js index c6aa6f3380..c712733470 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.js @@ -18,6 +18,7 @@ function my_init() { g.cgi = new CGI(); g.session = g.cgi.param('session') || g.cgi.param('ses'); + g.docid = g.cgi.param('docid'); /******************************************************************************************************/ /* Get the copy ids from various sources */ @@ -55,6 +56,17 @@ function my_init() { document.getElementById('nav').setAttribute('hidden','false'); } + /******************************************************************************************************/ + /* Show the Record Details? */ + if (g.docid) { + document.getElementById('brief_display').setAttribute( + 'src', + urls.XUL_BIB_BRIEF + '?docid=' + g.docid + ); + } else { + document.getElementById('brief_display').setAttribute('hidden','true'); + } + /******************************************************************************************************/ /* Do it */ diff --git a/Open-ILS/xul/staff_client/server/cat/copy_editor.xul b/Open-ILS/xul/staff_client/server/cat/copy_editor.xul index 8fe1475f40..02eef27c8a 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.xul +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.xul @@ -18,7 +18,7 @@ @@ -32,13 +32,11 @@