From: Trevor Parscal Date: Wed, 9 Dec 2009 21:57:48 +0000 (+0000) Subject: Removed the extra parameter from the attachEvent call, which only takes 2 parameters... X-Git-Tag: 1.31.0-rc.0~38585 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=56c02c75d26c257a263a9d930cac250a6125a749;p=lhc%2Fweb%2Fwiklou.git Removed the extra parameter from the attachEvent call, which only takes 2 parameters. This resolves issues in r59832. --- 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