[open-ils-commits] r16457 - trunk/Open-ILS/xul/staff_client/server/cat (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu May 20 00:53:59 EDT 2010


Author: phasefx
Date: 2010-05-20 00:53:56 -0400 (Thu, 20 May 2010)
New Revision: 16457

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/spine_labels.js
Log:
logic error, ensure that the "first_pre" print CSS class only occurs once per batch

Modified: trunk/Open-ILS/xul/staff_client/server/cat/spine_labels.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/spine_labels.js	2010-05-20 04:53:50 UTC (rev 16456)
+++ trunk/Open-ILS/xul/staff_client/server/cat/spine_labels.js	2010-05-20 04:53:56 UTC (rev 16457)
@@ -243,7 +243,7 @@
 
                         for (var j = 0; j < volume.copies().length; j++) {
                             var copy = volume.copies()[j];
-                            if (i == 0) {
+                            if (i == 0 && j == 0) {
                                 html += '<pre class="first_pre">\n';
                             } else {
                                 html += '<pre class="not_first_pre">\n';



More information about the open-ils-commits mailing list