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 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Opera preventDefault Bug</title>
+	<script type="text/javascript">
+
+function Ok( evt )
+{
+	if ( evt.test )
+		return evt.test() ;
+	else
+		return false ;
+}
+
+function Bug( evt )
+{
+	if ( evt.preventDefault )
+		return evt.preventDefault() ;
+	else
+		return false ;
+}
+
+	</script>
+</head>
+<body>
+	<p>
+		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.
+	</p>
+</body>
+</html>
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 ;
 		}
 
