Really revert these files. Argh.
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Mar 2009 06:42:59 +0000 (06:42 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Mar 2009 06:42:59 +0000 (06:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12604 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/rdetail.js
Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_extras.xml

index 047f8f1..b973267 100644 (file)
@@ -1,4 +1,4 @@
-/*  */
+/* */
 
 
 detachAllEvt('common', 'run');
@@ -349,7 +349,6 @@ function rdetailShowExtra(type, args) {
        hideMe($('rdetail_reviews_div'));
        hideMe($('rdetail_toc_div'));
        hideMe($('rdetail_anotes_div'));
-       hideMe($('rdetail_performer_notes_div'));
        hideMe($('rdetail_excerpt_div'));
        hideMe($('rdetail_preview_div'));
        hideMe($('rdetail_marc_div'));
@@ -364,7 +363,6 @@ function rdetailShowExtra(type, args) {
        removeCSSClass($('rdetail_excerpt_link'), 'rdetail_extras_selected');
        removeCSSClass($('rdetail_preview_link'), 'rdetail_extras_selected');
        removeCSSClass($('rdetail_anotes_link'), 'rdetail_extras_selected');
-       removeCSSClass($('rdetail_performer_notes_link'), 'rdetail_extras_selected');
        removeCSSClass($('rdetail_annotation_link'), 'rdetail_extras_selected');
        removeCSSClass($('rdetail_viewmarc_link'), 'rdetail_extras_selected');
 
@@ -396,11 +394,6 @@ function rdetailShowExtra(type, args) {
                        unHideMe($('rdetail_anotes_div'));
                        break;
 
-               case "performer_notes": 
-                       addCSSClass($('rdetail_performer_notes_link'), 'rdetail_extras_selected');
-                       unHideMe($('rdetail_performer_notes_div'));
-                       break;
-
                case "toc": 
                        addCSSClass($('rdetail_toc_link'), 'rdetail_extras_selected');
                        unHideMe($('rdetail_toc_div'));
@@ -492,9 +485,6 @@ function rdetailhandleAC(data) {
        if( data.toc.html ) {
                $('rdetail_toc_div').innerHTML = data.toc.html;
                unHideMe($('rdetail_toc_link'));
-       } else if( record.toc() ) {
-               $('rdetail_toc_div').innerHTML = record.toc();
-               unHideMe($('rdetail_toc_link'));
        }
 
        if( data.excerpt.html ) {
@@ -506,11 +496,6 @@ function rdetailhandleAC(data) {
                $('rdetail_anotes_div').innerHTML = data.anotes.html;
                unHideMe($('rdetail_anotes_link'));
        }
-
-       if( record.performer_notes() ) {
-               $('rdetail_performer_notes_div').innerHTML = record.performer_notes();
-               unHideMe($('rdetail_performer_notes_link'));
-       }
 }
 
 function rdetailShowReviews(r) {
index c7f1516..7b38f9a 100644 (file)
@@ -1,3 +1,4 @@
+
 <div xmlns:xi="http://www.w3.org/2001/XInclude">
 
        <table class='rdetails_extra_links'>
                                                class='classic_link'>&rdetail.extras.author.notes;</a>
                                </td>
 
-                               <td id='rdetail_performer_notes_link' class='hide_me rdetail_extras_td'
-                                       style='padding-right: 15px; padding-left: 15px;' >
-                                       <a href='javascript:rdetailShowExtra("performer_notes");' 
-                                               class='classic_link'>&rdetail.extras.performer.notes;</a>
-                               </td>
-
 
                                <td id='rdetail_annotation_link' class='hide_me rdetail_extras_td'
                                        style='padding-right: 15px; padding-left: 15px;' >
@@ -92,8 +87,6 @@
 
                <div id='rdetail_anotes_div' class='rdetail_extras_div hide_me'> </div>
 
-               <div id='rdetail_performer_notes_div' class='rdetail_extras_div hide_me'> </div>
-
                <div id='rdetail_marc_div' class='rdetail_extras_div hide_me'> 
                        <div id='rdetail_view_marc_box'> </div>
                </div>