When loading content through ajax in Internet Explorer, the new html5 elements are not recognized / processed with the html5shiv thingie.

I've used innershiv to mitigate my issue, with the following example code. Maybe this is usefull for omega?
(btw, I've peeked into zen theme and borrowed their solution ;))

in html.tpl.php:

    <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  <script src="/path/to/theme/js/innershiv.js"></script>
  <script type="text/javascript">
// Monkeypatch the innerShiv in the ajax insert method.
 (function(){if(Drupal.ajax){var _insert=Drupal.ajax.prototype.commands.insert;Drupal.ajax.prototype.commands.insert=function(ajax,response,status){response.data=innerShiv(response.data,false);_insert(ajax,response,status);}}})();
</script>
  <![endif]-->

Comments

thijsvdanker’s picture

Oh and a link to innershiv: http://jdbartlett.com/innershiv/

Cellar Door’s picture

Assigned: Unassigned » himerus
Category: bug » feature

What do you think Himerus - add to 3.2.x?