From: phasefx Date: Mon, 17 Nov 2008 02:53:11 +0000 (+0000) Subject: iframe tweaks for xulrunner 1.9. hold_notices.xul is all kinds of broken, though X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e905be3bdefce53a5096052004218a9af9661ade;p=Evergreen.git iframe tweaks for xulrunner 1.9. hold_notices.xul is all kinds of broken, though git-svn-id: svn://svn.open-ils.org/ILS/trunk@11233 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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 c9b38d44d0..8b1bbcf86a 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.js @@ -139,13 +139,11 @@ function my_init() { /******************************************************************************************************/ /* Show the Record Details? */ + var bdb = document.getElementById('brief_display_box'); while(bdb.firstChild) bdb.removeChild(bdb.lastChild); if (g.docid) { - document.getElementById('brief_display').setAttribute( - 'src', - urls.XUL_BIB_BRIEF + '?docid=' + g.docid - ); - } else { - document.getElementById('brief_display').setAttribute('hidden','true'); + var brief_display = document.createElement('iframe'); bdb.appendChild(brief_display); + brief_display.setAttribute( 'src', urls.XUL_BIB_BRIEF + '?docid=' + g.docid); // this is a modal window, so can't push in xulG + brief_display.setAttribute( 'flex','1' ); } /******************************************************************************************************/ 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 367117aaae..097182f617 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.xul +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.xul @@ -37,9 +37,9 @@ -