[open-ils-commits] r12709 - branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Mar 27 19:07:30 EDT 2009


Author: dbs
Date: 2009-03-27 19:07:30 -0400 (Fri, 27 Mar 2009)
New Revision: 12709

Modified:
   branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util/exec.js
Log:
Backport 12486 from trunk: decrement a counter for the chunk size


Modified: branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util/exec.js
===================================================================
--- branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util/exec.js	2009-03-27 21:22:19 UTC (rev 12708)
+++ branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util/exec.js	2009-03-27 23:07:30 UTC (rev 12709)
@@ -17,7 +17,7 @@
             function() {
                 var i = obj.chunk_size;
                 while (funcs.length > 0 && i > 0) {
-                    funcs.shift()();
+                    funcs.shift()(); i--;
                 }
             },
             interval



More information about the open-ils-commits mailing list