From: Jason Etheridge Date: Sun, 20 Feb 2011 08:08:58 +0000 (-0500) Subject: hide parts of the volume/copy creator and item attribute editor when wrapped in unifi... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6c8f9b310cd1a593c5015a12fb37b23896ef8e7b;p=evergreen%2Fequinox.git hide parts of the volume/copy creator and item attribute editor when wrapped in unified interface --- 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 @@