From 81a03063dc8376356da6419de4b74a5449da59ef Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Sun, 20 Feb 2011 02:52:50 -0500 Subject: [PATCH] item editor --- Open-ILS/xul/staff_client/server/cat/volume_copy_editor.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/cat/volume_copy_editor.js b/Open-ILS/xul/staff_client/server/cat/volume_copy_editor.js index 072f3d75ee..f9ad1d6a04 100644 --- a/Open-ILS/xul/staff_client/server/cat/volume_copy_editor.js +++ b/Open-ILS/xul/staff_client/server/cat/volume_copy_editor.js @@ -13,6 +13,8 @@ function my_init() { try { window.xulG.set_tab_name('Test'); } catch(E) { alert(E); } }*/ + xulG.unified_interface = true; + JSAN.use('util.browser'); var volume_pane = new util.browser(); volume_pane.init( @@ -25,6 +27,18 @@ function my_init() { } ); + var item_pane = new util.browser(); + item_pane.init( + { + 'url' : urls.XUL_COPY_EDITOR, + 'push_xulG' : true, + 'alt_print' : false, + 'browser_id' : 'item_pane', + 'passthru_content_params' : xulG + } + ); + + } catch(E) { try { error.standard_unexpected_error_alert('main/test.xul',E); } catch(F) { alert(E); } } -- 2.11.0