Changeset 2095
- Timestamp:
- 2008-06-19 06:34:43 (6 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 4 modified
-
editor/_source/classes/fckiecleanup.js (modified) (1 diff)
-
editor/_source/fckeditorapi.js (modified) (2 diffs)
-
fckconfig.js (modified) (1 diff)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/classes/fckiecleanup.js
r1565 r2095 44 44 function FCKIECleanup_Cleanup() 45 45 { 46 if ( !this._FCKCleanupObj || !window.FCKUnloadFlag)46 if ( !this._FCKCleanupObj || ( FCKConfig.MsWebBrowserControlCompat && !window.FCKUnloadFlag ) ) 47 47 return ; 48 48 -
FCKeditor/trunk/editor/_source/fckeditorapi.js
r1805 r2095 165 165 function FCKeditorAPI_Cleanup() 166 166 { 167 if ( ! window.FCKUnloadFlag ) 167 if ( window.FCKConfig && FCKConfig.MsWebBrowserControlCompat 168 && !window.FCKUnloadFlag ) 168 169 return ; 169 170 delete FCKeditorAPI.Instances[ FCK.Name ] ; … … 171 172 function FCKeditorAPI_ConfirmCleanup() 172 173 { 173 window.FCKUnloadFlag = true ; 174 if ( window.FCKConfig && FCKConfig.MsWebBrowserControlCompat ) 175 window.FCKUnloadFlag = true ; 174 176 } 175 177 FCKTools.AddEventListener( window, 'unload', FCKeditorAPI_Cleanup ) ; -
FCKeditor/trunk/fckconfig.js
r2019 r2095 315 315 FCKConfig.BackgroundBlockerColor = '#ffffff' ; 316 316 FCKConfig.BackgroundBlockerOpacity = 0.50 ; 317 318 FCKConfig.MsWebBrowserControlCompat = false ; -
FCKeditor/trunk/_whatsnew.html
r2094 r2095 56 56 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2127">#2127</a>] Changed floating dialogs to use 57 57 fixed positioning so that they are no longer affected by scrolling.</li> 58 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2018">#2018</a>] Reversed the fix for 59 <a target="_blank" href="http://dev.fckeditor.net/ticket/183">#183</a> which broke FCKeditorAPI's cleanup 60 logic. A new configuration directive <strong>MsWebBrowserControlCompat</strong> has been added 61 for those who wish to force the #183 fix to be enabled.</li> 58 62 </ul> 59 63 <p>