diff --git a/src/static/js/changesettracker.js b/src/static/js/changesettracker.js index 92d550928..b93fcc174 100644 --- a/src/static/js/changesettracker.js +++ b/src/static/js/changesettracker.js @@ -162,6 +162,16 @@ function makeChangesetTracker(scheduler, apool, aceCallbacksProvider) } else { + + // add forEach function to Array.prototype for IE8 + if (!('forEach' in Array.prototype)) { + Array.prototype.forEach= function(action, that /*opt*/) { + for (var i= 0, n= this.length; i