item editor
authorJason Etheridge <jason@esilibrary.com>
Sun, 20 Feb 2011 07:52:50 +0000 (02:52 -0500)
committerJason Etheridge <jason@esilibrary.com>
Wed, 2 Mar 2011 15:20:57 +0000 (10:20 -0500)
Open-ILS/xul/staff_client/server/cat/volume_copy_editor.js

index 072f3d7..f9ad1d6 100644 (file)
@@ -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); }
     }