2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/6d7b80314cd1/ Changeset: 6d7b80314cd1 Branch: next-stable User: guerler Date: 2014-05-25 22:40:05 Summary: Charts: Fix queue Affected #: 1 file diff -r c7fdc917044bf6b72d4ea3d476113c324e583bb4 -r 6d7b80314cd1b74db1cc1c714c42f4b5d66dfeb9 config/plugins/visualizations/charts/static/library/deferred.js --- a/config/plugins/visualizations/charts/static/library/deferred.js +++ b/config/plugins/visualizations/charts/static/library/deferred.js @@ -20,11 +20,14 @@ this.on('refresh', function() { if (this.counter == 0) { for (var index in this.queue) { - // execute callback - this.queue[index](); + // get callback + var callback = this.queue[index]; // remove callback this.queue.splice(index, 1); + + // execute callback + callback(); } } }); https://bitbucket.org/galaxy/galaxy-central/commits/8160200aa4a2/ Changeset: 8160200aa4a2 User: guerler Date: 2014-05-25 22:40:49 Summary: Merge Affected #: 1 file diff -r 7ef5ea0fc02cdb4af301832f27672210b1942d5b -r 8160200aa4a2d75ccf88953098d7ad1e2227606f config/plugins/visualizations/charts/static/library/deferred.js --- a/config/plugins/visualizations/charts/static/library/deferred.js +++ b/config/plugins/visualizations/charts/static/library/deferred.js @@ -20,11 +20,14 @@ this.on('refresh', function() { if (this.counter == 0) { for (var index in this.queue) { - // execute callback - this.queue[index](); + // get callback + var callback = this.queue[index]; // remove callback this.queue.splice(index, 1); + + // execute callback + callback(); } } }); Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.