From 56c02c75d26c257a263a9d930cac250a6125a749 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Wed, 9 Dec 2009 21:57:48 +0000 Subject: [PATCH] Removed the extra parameter from the attachEvent call, which only takes 2 parameters. This resolves issues in r59832. --- skins/common/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/common/edit.js b/skins/common/edit.js index 47ade86342..5249deb288 100644 --- a/skins/common/edit.js +++ b/skins/common/edit.js @@ -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 -- 2.20.1