Ticket #4734: 4734.patch
File 4734.patch, 1.7 KB (added by , 14 years ago) |
---|
-
_source/plugins/richcombo/plugin.js
118 118 else 119 119 _.list.unmarkAll(); 120 120 121 // Selection will be unavailable after panel shows up 122 // in IE, lock it now. 123 if ( CKEDITOR.env.ie ) 124 { 125 var selection = editor.getSelection(); 126 selection && selection.lock(); 127 } 128 121 129 _.panel.showBlock( this.id, new CKEDITOR.dom.element( $element ), 4 ); 122 130 }, 123 131 this ); … … 248 256 249 257 me._.on = 0; 250 258 259 if ( CKEDITOR.env.ie ) 260 { 261 var selection = editor.getSelection(); 262 selection && selection.unlock( true ); 263 } 264 251 265 if ( me.onClose ) 252 266 me.onClose(); 253 267 }; -
_source/plugins/panelbutton/plugin.js
36 36 return; 37 37 } 38 38 39 // Selection will be unavailable after panel shows up 40 // in IE, lock it now. 41 if ( CKEDITOR.env.ie ) 42 { 43 var selection = editor.getSelection(); 44 selection && selection.lock(); 45 } 46 39 47 _.panel.showBlock( this._.id, this.document.getById( this._.id ), 4 ); 40 48 }; 41 49 … … 122 130 123 131 _.on = 0; 124 132 133 if ( CKEDITOR.env.ie ) 134 { 135 var selection = editor.getSelection(); 136 selection && selection.unlock( true ); 137 } 138 125 139 if ( me.onClose ) 126 140 me.onClose(); 127 141 };