Index: /FCKeditor/trunk/_dev/browserbugs/opera/preventdefault.html =================================================================== --- /FCKeditor/trunk/_dev/browserbugs/opera/preventdefault.html (revision 496) +++ /FCKeditor/trunk/_dev/browserbugs/opera/preventdefault.html (revision 496) @@ -0,0 +1,31 @@ + + +
++ Tested with Opera 9.50 Beta (9461). Open the Error Console to see the JavaScript + error due to the "Bug()" function defined in the code. +
+ + Index: /FCKeditor/trunk/editor/_source/internals/fck.js =================================================================== --- /FCKeditor/trunk/editor/_source/internals/fck.js (revision 495) +++ /FCKeditor/trunk/editor/_source/internals/fck.js (revision 496) @@ -715,8 +715,9 @@ el.setSelectionRange( selStart + 1, selStart + 1 ) ; } + if ( evt.preventDefault ) return evt.preventDefault() ; - else - return ( evt.returnValue = false ) ; + + return evt.returnValue = false ; }