logic error, ensure that the "first_pre" print CSS class only occurs once per batch
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 20 May 2010 04:53:56 +0000 (04:53 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 20 May 2010 04:53:56 +0000 (04:53 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16457 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/spine_labels.js

index 48ae6a0..ebe5b70 100644 (file)
 
                         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';