[fixed] SWFobject 2 + Mootools craches IE6
Posted: Wed Jul 23, 2008 5:41 pm
i found a (kind of) major bug... but it isn't any ones bad.
CMSMS adds the tag at the top of the every page. But when you have flash on your page using the new SWFobject 2 in combination with the MooTools 1.2 java script framework, Internet Explorer craches completely
This error presumably will also occur with older versions of SWFobject and/or MooTools and other combinations of java scripts.
The fix is to add a small pies of code that closes the base tag () only in Internet Explorer.
Open the file plugins/function.metadata.php and go to line 44 where it says $result .= "\n\n";
Just add replace it with this line: $result .= "\n\n";
And the problem is fixed.
I suggest adding this change to the distributed file just in case people run into this problem (as it's pretty hard to find anything on the net about this problem)
CMSMS adds the tag at the top of the every page. But when you have flash on your page using the new SWFobject 2 in combination with the MooTools 1.2 java script framework, Internet Explorer craches completely

This error presumably will also occur with older versions of SWFobject and/or MooTools and other combinations of java scripts.
The fix is to add a small pies of code that closes the base tag () only in Internet Explorer.
Open the file plugins/function.metadata.php and go to line 44 where it says $result .= "\n\n";
Just add replace it with this line: $result .= "\n\n";
And the problem is fixed.
I suggest adding this change to the distributed file just in case people run into this problem (as it's pretty hard to find anything on the net about this problem)