won't have opac view in staff cat details page
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Nov 2005 19:16:38 +0000 (19:16 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Nov 2005 19:16:38 +0000 (19:16 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2078 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/cat/details.xul
Evergreen/staff_client/chrome/content/evergreen/opac/opac.js

index b8c2fc5..28dbf2c 100644 (file)
@@ -29,8 +29,8 @@
                                my_init_spawn_brief_view,
                                my_init_spawn_marc_view,
                                my_init_spawn_copy_browser,
-                               my_init_spawn_marc_editor,
-                               my_init_spawn_opac_view
+                               /* my_init_spawn_opac_view, */
+                               my_init_spawn_marc_editor
                        );
 
                }
                <hbox id="brief_view"/>
                <tabbox flex="1">
                        <tabs>
-                               <tab label="OPAC View"/>
+                               <!-- <tab label="OPAC View"/> -->
                                <tab label="MARC View"/>
                                <tab label="MARC Edit"/>
                                <tab label="Copy Browser"/>
-                               <tab label="Copy Editor" id="copy_editor_tab" disabled="true"/>
+                               <tab label="Copy Editor" id="copy_editor_tab" />
                        </tabs>
                        <tabpanels flex="1">
-                               <tabpanel id="opac_view"/>
+                               <!-- <tabpanel id="opac_view"/> -->
                                <tabpanel id="marc_view"/>
                                <tabpanel id="marc_edit"/>
                                <tabpanel id="copy_browser"/>
index 7b4e8f1..0b96bc9 100644 (file)
@@ -75,13 +75,14 @@ function set_opac_vars(p) {
 
 }
 
-function opac_make_details_page(p, id, node) {
+function opac_make_details_page(p, id) {
        sdump('D_OPAC',arg_dump(arguments));
        dump("Node HREF attribute is: " + node.getAttribute("href") + "\n and doc id is " + id +'\n');
        var f = function(ev) {
                spawn_record_details(
                        p.w.app_shell, 'new_tab', 'main_tabbox', {
-                               'find_this_id' : id, 'opac_url' : node.getAttribute('href')
+                               'find_this_id' : id
+                               /* , 'opac_url' : node.getAttribute('href')*/
                        }
                ).find_this_id = id;
                ev.preventDefault();