[open-ils-commits] r9895 - trunk/Open-ILS/web/opac/skin/default/js
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jun 20 14:01:02 EDT 2008
Author: miker
Date: 2008-06-20 14:00:58 -0400 (Fri, 20 Jun 2008)
New Revision: 9895
Modified:
trunk/Open-ILS/web/opac/skin/default/js/rdetail.js
Log:
use the new opac_visible flag for CN table
Modified: trunk/Open-ILS/web/opac/skin/default/js/rdetail.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/rdetail.js 2008-06-20 16:10:39 UTC (rev 9894)
+++ trunk/Open-ILS/web/opac/skin/default/js/rdetail.js 2008-06-20 18:00:58 UTC (rev 9895)
@@ -707,7 +707,7 @@
var _statusPositions = {};
//Add one td (creating a new column) to the copy summary
-//table for each holdable copy status
+//table for each opac_visible copy status
function rdetailBuildStatusColumns() {
@@ -719,7 +719,7 @@
for( i = 0; i < cp_statuses.length; i++ ) {
var c = cp_statuses[i];
- if( c && isTrue(c.holdable()) ) {
+ if( c && isTrue(c.opac_visisble()) ) {
var name = c.name();
_statusPositions[i] = c;
var node = template.cloneNode(true);
More information about the open-ils-commits
mailing list