From: miker Date: Tue, 4 May 2010 18:20:41 +0000 (+0000) Subject: arg ... even with topic branches, I still do stuff like this X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d7af810f57b3e62b65c6f7583c74413ab3a335fc;p=evergreen%2Ftadl.git arg ... even with topic branches, I still do stuff like this git-svn-id: svn://svn.open-ils.org/ILS/trunk@16387 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/dojo/openils/BibTemplate.js b/Open-ILS/web/js/dojo/openils/BibTemplate.js index e02766302e..d25dc55106 100644 --- a/Open-ILS/web/js/dojo/openils/BibTemplate.js +++ b/Open-ILS/web/js/dojo/openils/BibTemplate.js @@ -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;