/*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
{\r
releaseHandlers( this );\r
callback( this, this._.parentDialog );\r
- this._.parentDialog.changeFocus( true );\r
+ this._.parentDialog.changeFocus();\r
};\r
var onCancel = function()\r
{\r
return {\r
title : langCell.title,\r
minWidth : CKEDITOR.env.ie && CKEDITOR.env.quirks? 450 : 410,\r
- minHeight : CKEDITOR.env.ie && CKEDITOR.env.quirks? 230 : 200,\r
+ minHeight : CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.quirks )? 230 : 220,\r
contents : [\r
{\r
id : 'info',\r
for ( var i = 0 ; i < cells.length ; i++ )\r
this.commitContent( cells[ i ] );\r
\r
+ this._.editor.forceNextSelectionCheck();\r
selection.selectBookmarks( bookmarks );\r
-\r
- // Force selectionChange event because of alignment style.\r
- var firstElement = selection.getStartElement();\r
- var currentPath = new CKEDITOR.dom.elementPath( firstElement );\r
-\r
- this._.editor._.selectionPreviousPath = currentPath;\r
- this._.editor.fire( 'selectionChange', { selection : selection, path : currentPath, element : firstElement } );\r
+ this._.editor.selectionChange();\r
}\r
};\r
} );\r