From: phasefx Date: Fri, 4 Aug 2006 08:47:03 +0000 (+0000) Subject: put bib summary in volume create and copy editor, and get rid of maximized X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=98ebaf6d2983a9fd917a5808573c905372daf06a;p=Evergreen.git put bib summary in volume create and copy editor, and get rid of maximized git-svn-id: svn://svn.open-ils.org/ILS/trunk@5288 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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 1782762be2..399cc24183 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.xul +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.xul @@ -20,7 +20,7 @@ diff --git a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js index 46b2bc2255..fa25eef954 100644 --- a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js +++ b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js @@ -22,6 +22,8 @@ function my_init() { /* What record am I dealing with? Am I adding just copies or copies and volumes? */ g.doc_id = g.cgi.param('doc_id'); + document.getElementById('summary').setAttribute('src',urls.XUL_BIB_BRIEF + '?docid=' + window.escape(g.doc_id)); + g.copy_shortcut = g.cgi.param('copy_shortcut'); g.error.sdump('D_ERROR','location.href = ' + location.href + '\n\ncopy_short cut = ' + g.copy_shortcut + '\n\nou_ids = ' + g.cgi.param('ou_ids')); if (g.copy_shortcut) g.copy_shortcut = JSON2js( g.copy_shortcut ); @@ -366,7 +368,7 @@ g.stash_and_close = function() { g.data.temp_callnumbers = js2JSON(volume_labels); g.data.stash('temp_callnumbers'); var w = win.open( urls.XUL_COPY_EDITOR - +'?edit=1', + +'?edit=1&docid='+window.escape(g.doc_id), title, 'chrome,modal,resizable' ); diff --git a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul index bab5a48f5e..64ac71ba78 100644 --- a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul +++ b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul @@ -20,7 +20,7 @@ @@ -34,6 +34,7 @@