Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html (revision 5705)
+++ /CKEditor/trunk/CHANGES.html (revision 5706)
@@ -54,4 +54,5 @@
#5843 : In CKEditor 3.3: When we set the focus in the 'instanceReady' event, FF3.6 is giving js error.
#5902 : paste and pastetext dialogs can not be skinned easily.
+ #5959 : Dialog auto focus does not check for hidden tabs.
Index: /CKEditor/trunk/_source/plugins/dialog/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/dialog/plugin.js (revision 5705)
+++ /CKEditor/trunk/_source/plugins/dialog/plugin.js (revision 5706)
@@ -408,5 +408,5 @@
if ( editor.config.dialog_startupFocusTab
- && me._.tabIdList.length > 1 )
+ && me._.pageCount > 1 )
{
me._.tabBarMode = true;