Ticket #3566: 3566.patch
File 3566.patch, 1.3 KB (added by , 14 years ago) |
---|
-
_source/plugins/menu/plugin.js
15 15 16 16 editor._.menuGroups = groupsOrder; 17 17 editor._.menuItems = {}; 18 } 18 }, 19 20 requires : [ 'floatpanel' ] 19 21 }); 20 22 21 23 CKEDITOR.tools.extend( CKEDITOR.editor.prototype, -
_source/plugins/floatpanel/plugin.js
11 11 (function() 12 12 { 13 13 var panels = {}; 14 var isShowing = false; 14 15 15 16 function getPanel( editor, doc, parentElement, definition, level ) 16 17 { … … 101 102 var panel = this._.panel, 102 103 block = panel.showBlock( name ); 103 104 105 isShowing = true; 106 104 107 var element = this.element, 105 108 iframe = this._.iframe, 106 109 definition = this._.definition, … … 133 136 134 137 focused.on( 'blur', function() 135 138 { 136 if ( !this._.activeChild )139 if ( !this._.activeChild && !isShowing ) 137 140 this.hide(); 138 141 }, 139 142 this ); … … 217 220 218 221 if ( this.onShow ) 219 222 this.onShow.call( this ); 223 224 isShowing = false; 220 225 }, 221 226 222 227 hide : function()