Skip to content

Commit

Permalink
MDL-29213 - add clarification note + todo once MDL-30039 arrives
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Nov 2, 2011
1 parent 5fbf87c commit 799be36
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mod/scorm/player.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@
@apache_setenv('no-gzip', 1);
}

//IE 9 workaround for Flash bug: MDL-29213
// IE 9 workaround for Flash bug: MDL-29213
// Note that it's not clear if appending the meta tag via $CFG->additionalhtmlhead
// is correct at all, both because of the mechanism itself and because MS says
// the tag must be used *before* including other stuff. See the issue for more info.
// TODO: Once we implement some way to inject meta tags, change this to use it. MDL-30039
if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 9') !== false) {
if (!isset($CFG->additionalhtmlhead)) { //check to make sure set first - that way we can use .=
$CFG->additionalhtmlhead = '';
Expand Down

0 comments on commit 799be36

Please sign in to comment.