Removed the extra parameter from the attachEvent call, which only takes 2 parameters...
authorTrevor Parscal <tparscal@users.mediawiki.org>
Wed, 9 Dec 2009 21:57:48 +0000 (21:57 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Wed, 9 Dec 2009 21:57:48 +0000 (21:57 +0000)
skins/common/edit.js

index 47ade86..5249deb 100644 (file)
@@ -191,7 +191,7 @@ hookEvent( 'load', function() {
                editForm.addEventListener('focus', onfocus, true); // This MUST be true to work
        } else if ( editForm.attachEvent ) {
                // IE needs a specific trick here since it doesn't support the standard
-               editForm.attachEvent( 'onfocusin', function() { onfocus(event); }, handler );
+               editForm.attachEvent( 'onfocusin', function() { onfocus(event); } );
        }
        
        editForm