Ticket #6816: 6816.patch
File 6816.patch, 1.7 KB (added by , 13 years ago) |
---|
-
_source/plugins/adobeair/plugin.js
27 27 { 28 28 (function( eventName ) 29 29 { 30 var inlineEventHandler = node.getAttribute( 'on' + eventName ); 30 31 if ( node.hasAttribute( 'on' + eventName ) ) 31 32 { 33 node.removeAttribute( 'on' + eventName ); 32 34 node.on( eventName, function( evt ) 33 35 { 34 var inlineEventHandler = node.getAttribute( 'on' + eventName ), 35 callFunc = /(return\s*)?CKEDITOR\.tools\.callFunction\(([^)]+)\)/.exec( inlineEventHandler ), 36 var callFunc = /(return\s*)?CKEDITOR\.tools\.callFunction\(([^)]+)\)/.exec( inlineEventHandler ), 36 37 hasReturn = callFunc && callFunc[ 1 ], 37 38 callFuncArgs = callFunc && callFunc[ 2 ].split( ',' ), 38 39 preventDefault = /return false;/.test( inlineEventHandler ); -
_source/plugins/dialog/plugin.js
725 725 else 726 726 element.setStyle( 'display', 'block' ); 727 727 728 CKEDITOR.ui.fire( 'ready', this );729 728 // FIREFOX BUG: Fix vanishing caret for Firefox 2 or Gecko 1.8. 730 729 if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) 731 730 { … … 792 791 793 792 // Execute onLoad for the first show. 794 793 this.fireOnce( 'load', {} ); 794 CKEDITOR.ui.fire( 'ready', this ); 795 795 796 this.fire( 'show', {} ); 796 797 this._.editor.fire( 'dialogShow', this ); 797 798