[wp-trac] [WordPress Trac] #16737: prototype 1.6.1 in WP3.1 broken in IE6-8

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 3 09:23:11 UTC 2011


#16737: prototype 1.6.1 in WP3.1 broken in IE6-8
--------------------------------+-----------------------------
 Reporter:  mpol                |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  External Libraries  |    Version:
 Severity:  normal              |   Keywords:
--------------------------------+-----------------------------
 Prototype.js is broken in Wordpress 3.1.0 when used in IE6 to IE8. It
 gives a script error on line 4821:
     var nodes = $(element).getElementsByTagName('*');
 The error is that this method is not supported by this object.
 I changed that line to:
     var nodes = element.getElementsByTagName('*');
 And now it runs fine in IE6-IE8

 I'm definitely no guru with javascript, so I'm not sure if this is the
 preferred fix.
 I also tried using prototype-1.7, but that gave the same error.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16737>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list