forgot to decrement a counter for the chunk size.. since performance was pretty spiff...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 11 Mar 2009 05:06:32 +0000 (05:06 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 11 Mar 2009 05:06:32 +0000 (05:06 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12486 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/util/exec.js

index 842a418..e3122b3 100644 (file)
@@ -17,7 +17,7 @@ util.exec.prototype = {
             function() {
                 var i = obj.chunk_size;
                 while (funcs.length > 0 && i > 0) {
-                    funcs.shift()();
+                    funcs.shift()(); i--;
                 }
             },
             interval