Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.4.3
[ckeditor.git]
/
_source
/
plugins
/
dialog
/
plugin.js
diff --git
a/_source/plugins/dialog/plugin.js
b/_source/plugins/dialog/plugin.js
index
13f6327
..
26d8a8d
100644
(file)
--- a/
_source/plugins/dialog/plugin.js
+++ b/
_source/plugins/dialog/plugin.js
@@
-1029,7
+1029,7
@@
CKEDITOR.DIALOG_RESIZE_BOTH = 3;
hidePage : function( id )
\r
{
\r
var tab = this._.tabs[id] && this._.tabs[id][0];
\r
hidePage : function( id )
\r
{
\r
var tab = this._.tabs[id] && this._.tabs[id][0];
\r
- if ( !tab || this._.pageCount == 1 )
\r
+ if ( !tab || this._.pageCount == 1 || !tab.isVisible() )
\r
return;
\r
// Switch to other tab first when we're hiding the active tab.
\r
else if ( id == this._.currentTabId )
\r
return;
\r
// Switch to other tab first when we're hiding the active tab.
\r
else if ( id == this._.currentTabId )
\r