Changeset 421
- Timestamp:
- 2007-07-08 17:46:42 (18 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fckconfig.js
r419 r421 38 38 // In Windows it is file:// but in MacOs it is file:/// so let's get it automatically 39 39 var sFullProtocol = document.location.href.match( /^(file\:\/{2,3})/ )[1] ; 40 // #945 Opera does strange things with files loaded from the disk, and it fails in Mac to load xml files 41 if ( FCKBrowserInfo.IsOpera ) 42 sFullProtocol += 'localhost/' ; 43 40 44 FCKConfig.BasePath = sFullProtocol + FCKConfig.BasePath.substring( 0, FCKConfig.BasePath.lastIndexOf( '/' ) + 1) ; 41 45 FCKConfig.FullBasePath = FCKConfig.BasePath ;