arg ... even with topic branches, I still do stuff like this
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 4 May 2010 18:20:41 +0000 (18:20 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 4 May 2010 18:20:41 +0000 (18:20 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16387 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/BibTemplate.js

index e027663..d25dc55 100644 (file)
@@ -45,7 +45,7 @@ if(!dojo._hasResource["openils.BibTemplate"]) {
 
         subsetNL : function (old_nl, start, end) {
             var new_nl = new dojo.NodeList();
-            for (var i = start; i < end && i < old_nl.length - 1; i++) {
+            for (var i = start; i < end && i < old_nl.length; i++) {
                 new_nl.push(old_nl[i]);
             }
             return new_nl;