[open-ils-commits] r12710 - branches/rel_1_4_0/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:08:11 EDT 2009


Author: dbs
Date: 2009-03-27 19:08:10 -0400 (Fri, 27 Mar 2009)
New Revision: 12710

Modified:
   branches/rel_1_4_0/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_0/Open-ILS/xul/staff_client/chrome/content/util/exec.js
===================================================================
--- branches/rel_1_4_0/Open-ILS/xul/staff_client/chrome/content/util/exec.js	2009-03-27 23:07:30 UTC (rev 12709)
+++ branches/rel_1_4_0/Open-ILS/xul/staff_client/chrome/content/util/exec.js	2009-03-27 23:08:10 UTC (rev 12710)
@@ -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