Fix check all for IE. Props mdawaffe. fixes #6268
git-svn-id: http://svn.automattic.com/wordpress/trunk@7371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5f6bc326a4
commit
f181ad63a6
|
@ -1,6 +1,6 @@
|
|||
function checkAll(form) {
|
||||
for (i = 0, n = form.elements.length; i < n; i++) {
|
||||
if(form.elements[i].type == "checkbox" && !(form.elements[i].hasAttribute('onclick'))) {
|
||||
if(form.elements[i].type == "checkbox" && !(form.elements[i].getAttribute('onclick',2))) {
|
||||
if(form.elements[i].checked == true)
|
||||
form.elements[i].checked = false;
|
||||
else
|
||||
|
|
|
@ -128,7 +128,7 @@ class WP_Scripts {
|
|||
'pending' => __('%i% pending') // must look like: "# blah blah"
|
||||
) );
|
||||
$this->add( 'admin-users', '/wp-admin/js/users.js', array('wp-lists'), '20070823' );
|
||||
$this->add( 'admin-forms', '/wp-admin/js/forms.js', false, '20080108' );
|
||||
$this->add( 'admin-forms', '/wp-admin/js/forms.js', false, '20080317' );
|
||||
$this->add( 'xfn', '/wp-admin/js/xfn.js', false, '3517' );
|
||||
$this->add( 'upload', '/wp-admin/js/upload.js', array('jquery'), '20070518' );
|
||||
$this->add( 'postbox', '/wp-admin/js/postbox.js', array('jquery'), '20080128' );
|
||||
|
|
Loading…
Reference in New Issue