Ticket #1915: 1915.patch
File 1915.patch, 1.1 KB (added by , 15 years ago) |
---|
-
editor/js/fckadobeair.js
147 147 // Save references for override reuse. 148 148 var _Original_FCKPanel_Window_OnFocus = FCKPanel_Window_OnFocus ; 149 149 var _Original_FCKPanel_Window_OnBlur = FCKPanel_Window_OnBlur ; 150 var _Original_FCK_StartEditor = FCK.StartEditor ; 150 151 151 152 FCKPanel_Window_OnFocus = function( e, panel ) 152 153 { … … 162 163 // Delay the execution of the original function. 163 164 panel._focusTimer = FCKTools.SetTimeout( _Original_FCKPanel_Window_OnBlur, 100, this, [ e, panel ] ) ; 164 165 } 166 167 FCK.StartEditor = function() 168 { 169 // Force pointing to the CSS files instead of using the inline CSS cached styles. 170 window.FCK_InternalCSS = FCKConfig.FullBasePath + 'css/fck_internal.css' ; 171 window.FCK_ShowTableBordersCSS = FCKConfig.FullBasePath + 'css/fck_showtableborders_gecko.css' ; 172 173 _Original_FCK_StartEditor.apply( this, arguments ) ; 174 } 165 175 })(); 166 176 }