From 6c8f9b310cd1a593c5015a12fb37b23896ef8e7b Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Sun, 20 Feb 2011 03:08:58 -0500 Subject: [PATCH] hide parts of the volume/copy creator and item attribute editor when wrapped in unified interface --- Open-ILS/xul/staff_client/server/cat/copy_editor.js | 4 ++++ Open-ILS/xul/staff_client/server/cat/copy_editor.xul | 6 ++++-- .../xul/staff_client/server/cat/volume_copy_creator.js | 16 ++++++++++++---- .../xul/staff_client/server/cat/volume_copy_creator.xul | 2 +- 4 files changed, 21 insertions(+), 7 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 7ea39483ce..e0edef1603 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.js @@ -24,6 +24,10 @@ function my_init() { JSAN.use('OpenILS.data'); g.data = new OpenILS.data(); g.data.init({'via':'stash'}); JSAN.use('util.network'); g.network = new util.network(); + if (xulG.unified_interface) { + $('non_unified_buttons').hidden = true; + } + g.docid = xul_param('docid',{'modal_xulG':true}); g.handle_update = xul_param('handle_update',{'modal_xulG':true}); 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 a456da43b1..100617f685 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.xul +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.xul @@ -88,8 +88,10 @@