MINOR Fixed multifile.js non-standard forEach() reference, using jQuery.each() instead

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101135 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-03-16 04:15:05 +00:00 committed by Sam Minnee
parent e3dd9c9af3
commit f8ff13ad9e

View File

@ -55,7 +55,7 @@ ObservableObject.prototype = {
},
fire : function(evt, data, scope) {
scope = scope || window
this.functions.forEach(function(el) {
jQuery(this.functions).each(function(el) {
if (el[0] == evt) el[1].call(scope, data);
});
}