another entry point for bucket management
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 22 Feb 2006 17:38:30 +0000 (17:38 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 22 Feb 2006 17:38:30 +0000 (17:38 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3162 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul

index 028cc14..528c6b0 100644 (file)
@@ -57,6 +57,15 @@ main.menu.prototype = {
                                function() { obj.close_tab(); }
                        ],
 
+                       /* Edit Menu */
+                       'cmd_edit_copy_buckets' : [
+                               ['oncommand'],
+                               function() {
+                                       obj.set_tab(obj.url_prefix(urls.XUL_COPY_BUCKETS)
+                                               + '?session='+window.escape(session),{'tab_name':'Copy Buckets'},{});
+                               }
+                       ],
+
                        /* Search Menu */
                        'cmd_patron_search' : [
                                ['oncommand'],
index 6ce8bbb..b9bf548 100644 (file)
@@ -11,6 +11,8 @@
        <command id="cmd_new_tab" key="new-tab-key" />
        <command id="cmd_close_tab" key="close-tab-key" />
 
+       <command id="cmd_edit_copy_buckets" />
+
        <command id="cmd_cat_main" key="cat-main-key" />
        <command id="cmd_circ_checkout" key="circ-checkout-key" />
        <command id="cmd_patron_search" key="patron-search-key" />
 <!-- The Edit menu on the main menu -->
 <menu id="main.menu.edit" label="&staff.main.menu.edit.label;" accesskey="&staff.main.menu.edit.key;">
        <menupopup id="main.menu.edit.popup">
-               <menuitem label="stub"/>
+               <menuitem label="Copy Buckets" command="cmd_edit_copy_buckets" accesskey="B"/>
        <!--
                <menuitem label="&staff.main.menu.edit.undo.label;" accesskey="&staff.main.menu.edit.undo.key;" key="edit-undo-key" command="cmd_broken"/>
                <menuitem label="&staff.main.menu.edit.redo.label;" accesskey="&staff.main.menu.edit.redo.key;" key="edit-redo-key" command="cmd_broken"/>