Ticket #920: Broken-mozilla.patch
File Broken-mozilla.patch, 735 bytes (added by , 18 years ago) |
---|
-
componentselect.js
343 343 // Interestingly, Opera picks up .names in getElementById(), hence it being at the end now 344 344 if ( $( 'component' ) ) 345 345 reduceComponents( $( 'component' ), null, true ); // For the new ticket page 346 347 348 // now we need to query any radio groups for Mozilla breakage: http://www.quirksmode.org/js/tests/moz_radios.html 349 var brokMoz = document.getElementsBySelector('input[type="radio"]'); 350 if ( brokMoz.length > 0 ) { 351 for (var i = 0; i < brokMoz.length; i++) 352 { if (brokMoz[i]) brokMoz[i].checked = brokMoz[i].defaultChecked; } 353 } 346 354 } 347 355 348 356 addEvent( window, 'load', initialiseComponents );