only use the label to initialize call number browse
authorGalen Charlton <gmc@esilibrary.com>
Tue, 17 May 2011 22:06:38 +0000 (18:06 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 17 May 2011 22:06:38 +0000 (18:06 -0400)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/web/opac/skin/default/js/rdetail.js

index fd7b94a..c74c385 100644 (file)
@@ -801,7 +801,7 @@ function rdetailShowExtra(type, args) {
                case 'cn':
                        addCSSClass($('rdetail_viewcn_link'), 'rdetail_extras_selected');
                        unHideMe($('rdetail_cn_browse_div'));
                case 'cn':
                        addCSSClass($('rdetail_viewcn_link'), 'rdetail_extras_selected');
                        unHideMe($('rdetail_cn_browse_div'));
-                       rdetailShowCNBrowse(defaultCN, getLocation(), null, true);
+                       rdetailShowCNBrowse(defaultCN[1], getLocation(), null, true);
                        break;
 
        }
                        break;
 
        }