From a0c068b737cf67a7367c415db1a3b0522e96d706 Mon Sep 17 00:00:00 2001 From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Thu, 20 May 2010 04:53:56 +0000 Subject: [PATCH] logic error, ensure that the "first_pre" print CSS class only occurs once per batch 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/cat/spine_labels.js b/Open-ILS/xul/staff_client/server/cat/spine_labels.js index 48ae6a00f8..ebe5b700e9 100644 --- a/Open-ILS/xul/staff_client/server/cat/spine_labels.js +++ b/Open-ILS/xul/staff_client/server/cat/spine_labels.js @@ -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'; -- 2.11.0