Ticket #2519: 2519.patch
File 2519.patch, 2.0 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
62 62 now are shown properly.</li> 63 63 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2496">#2496</a>] Using the Paste 64 64 dialogs in IE might insert the content at the start of the editor.</li> 65 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2519">#2519</a>] Fixed race 66 condition at registering the FCKeditorAPI object in multiple editor scenarios.</li> 65 67 </ul> 66 68 <p> 67 69 <a href="_whatsnew_history.html">See previous versions history</a></p> -
editor/_source/fckeditorapi.js
42 42 'window.FCKeditorAPI = {' + 43 43 'Version : "[Development]",' + 44 44 'VersionBuild : "[DEV]",' + 45 'Instances : new Object(),' +45 'Instances : window.FCKeditorAPI && window.FCKeditorAPI.Instances || {},' + 46 46 47 47 'GetInstance : function( name )' + 48 48 '{' + … … 60 60 'this._FCKOriginalSubmit() ;' + 61 61 '},' + 62 62 63 '_FunctionQueue : {' +63 '_FunctionQueue : window.FCKeditorAPI && window.FCKeditorAPI._FunctionQueue || {' + 64 64 'Functions : new Array(),' + 65 65 'IsRunning : false,' + 66 66 … … 117 117 } 118 118 else if ( FCKBrowserInfo.IsSafari ) 119 119 { 120 // oParentWindow.eval in Safari and Gran Paradiso executes in the calling window 121 // environment, instead of the parent one. The following should make it work. 120 // oParentWindow.eval in Safari executes in the calling window 121 // environment, instead of the parent one. The following should 122 // make it work. 122 123 var oParentDocument = oParentWindow.document ; 123 124 var eScript = oParentDocument.createElement('script') ; 124 125 eScript.appendChild( oParentDocument.createTextNode( sScript ) ) ;