Index: /FCKeditor/trunk/_whatsnew.html
===================================================================
--- /FCKeditor/trunk/_whatsnew.html	(revision 1687)
+++ /FCKeditor/trunk/_whatsnew.html	(revision 1688)
@@ -57,4 +57,6 @@
 			permission denied errors during opening popup menus in IE6 under domain relaxation
 			mode.</li>
+		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1934">#1934</a>] Fixed
+			JavaScript errors when calling Selection.EnsureSelection() in dialogs.</li>
 	</ul>
 	<h3>
Index: /FCKeditor/trunk/editor/fckdialog.html
===================================================================
--- /FCKeditor/trunk/editor/fckdialog.html	(revision 1687)
+++ /FCKeditor/trunk/editor/fckdialog.html	(revision 1688)
@@ -387,5 +387,11 @@
 		{
 			if ( FCKDialog.SelectionData )
-				FCKDialog.SelectionData.select() ;
+			{
+				try
+				{
+					FCKDialog.SelectionData.select() ;
+				}
+				catch ( e ) {}
+			}
 		},
 
