Ticket #4362: 4362.patch
File 4362.patch, 3.7 KB (added by , 14 years ago) |
---|
-
_source/plugins/richcombo/plugin.js
273 273 me.setState( CKEDITOR.TRISTATE_OFF ); 274 274 }; 275 275 276 panel.on( 'showBlock', function() 277 { 278 this.fire( 'open', panel ); 279 }, this ); 280 276 281 if ( this.init ) 277 282 this.init(); 278 283 }, … … 351 356 } 352 357 }); 353 358 359 CKEDITOR.event.implementOn( CKEDITOR.ui.richCombo.prototype, true ); 354 360 CKEDITOR.ui.prototype.addRichCombo = function( name, definition ) 355 361 { 356 362 this.add( name, CKEDITOR.UI_RICHCOMBO, definition ); -
_source/plugins/menu/plugin.js
151 151 }, 152 152 this ); 153 153 154 panel.on( 'showBlock', function() 155 { 156 this.fire( 'open', panel ); 157 }, this ); 158 159 154 160 // Create an autosize block inside the panel. 155 161 var block = panel.addBlock( this.id ); 156 162 block.autoSize = true; … … 241 247 } 242 248 }); 243 249 250 CKEDITOR.event.implementOn( CKEDITOR.menu.prototype, true ); 251 244 252 function sortItems( items ) 245 253 { 246 254 items.sort( function( itemA, itemB ) -
_source/plugins/floatpanel/plugin.js
221 221 if ( panel.isLoaded ) 222 222 setHeight(); 223 223 else 224 panel.on Load = setHeight;224 panel.on( 'load', setHeight ); 225 225 } 226 226 else 227 element.getFirst().removeStyle( 'height');227 element.getFirst().removeStyle('height'); 228 228 229 panel.isLoaded ? 230 this.fire( 'showBlock', block ) 231 : panel.on( 'load', function( evt ) 232 { 233 evt.removeListener(); 234 this.fire( 'showBlock', block ); 235 }, this ); 236 229 237 // Set the IFrame focus, so the blur event gets fired. 230 238 CKEDITOR.tools.setTimeout( function() 231 239 { … … 326 334 } 327 335 } 328 336 }); 337 338 CKEDITOR.event.implementOn( CKEDITOR.ui.floatPanel.prototype, true ); 339 329 340 })(); -
_source/plugins/panelbutton/plugin.js
133 133 _.on = 0; 134 134 me.setState( CKEDITOR.TRISTATE_OFF ); 135 135 }; 136 panel.on( 'showBlock', function() 137 { 138 this.fire( 'open', panel ); 139 }, this ); 136 140 } 137 141 } 138 142 }); 139 143 144 CKEDITOR.event.implementOn( CKEDITOR.ui.panelButton.prototype, true ); 145 140 146 })(); -
_source/plugins/panel/plugin.js
141 141 if ( CKEDITOR.env.isCustomDomain() ) 142 142 doc.$.domain = document.domain; 143 143 144 var onLoad = CKEDITOR.tools.addFunction( CKEDITOR.tools.bind( function( ev)144 var onLoad = CKEDITOR.tools.addFunction( CKEDITOR.tools.bind( function() 145 145 { 146 146 this.isLoaded = true; 147 if ( this.onLoad )148 this.onLoad(); 147 this.fire( 'load', this ); 148 149 149 }, this ) ); 150 150 151 151 doc.$.write( … … 233 233 } 234 234 }; 235 235 236 CKEDITOR.event.implementOn( CKEDITOR.ui.panel.prototype, true ); 236 237 CKEDITOR.ui.panel.block = CKEDITOR.tools.createClass( 237 238 { 238 239 $ : function( blockHolder )