Changeset 2069
- Timestamp:
- 2008-06-13 09:12:51 (7 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 1 added
- 4 modified
-
editor/fckeditor.html (modified) (2 diffs)
-
editor/_source/internals/fckdebug_empty.js (added)
-
editor/_source/internals/fckdebug.js (modified) (1 diff)
-
fckpackager.xml (modified) (2 diffs)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/fckeditor.html
r2056 r2069 104 104 LoadScript( '_source/internals/fckconfig.js' ) ; 105 105 106 LoadScript( '_source/internals/fckdebug .js' ) ;106 LoadScript( '_source/internals/fckdebug_empty.js' ) ; 107 107 LoadScript( '_source/internals/fckdomtools.js' ) ; 108 108 LoadScript( '_source/internals/fcktools.js' ) ; … … 237 237 238 238 FCKConfig_PreProcess() ; 239 240 // Load the full debug script. 241 if ( FCKConfig.Debug ) 242 LoadScript( '_source/internals/fckdebug.js' ) ; 243 244 </script> 245 <script type="text/javascript"> 239 246 240 247 var FCK_InternalCSS = FCKConfig.FullBasePath + 'css/fck_internal.css' ; // @Packager.RemoveLine -
FCKeditor/trunk/editor/_source/internals/fckdebug.js
r1565 r2069 22 22 */ 23 23 24 var FCKDebug = new Object() ; 24 // Public function defined here must be declared in fckdebug_empty.js. 25 25 26 FCKDebug._GetWindow = function() 26 var FCKDebug = 27 27 { 28 if ( !this.DebugWindow || this.DebugWindow.closed ) 29 this.DebugWindow = window.open( FCKConfig.BasePath + 'fckdebug.html', 'FCKeditorDebug', 'menubar=no,scrollbars=yes,resizable=yes,location=no,toolbar=no,width=600,height=500', true ) ; 28 Output : function( message, color, noParse ) 29 { 30 if ( ! FCKConfig.Debug ) 31 return ; 30 32 31 return this.DebugWindow ; 32 } 33 try 34 { 35 this._GetWindow().Output( message, color ) ; 36 } 37 catch ( e ) {} // Ignore errors 38 }, 33 39 34 FCKDebug.Output = function( message, color, noParse ) 35 { 36 if ( ! FCKConfig.Debug ) 37 return ; 40 OutputObject : function( anyObject, color ) 41 { 42 if ( !this.DebugWindow || this.DebugWindow.closed ) 43 if ( ! FCKConfig.Debug ) 44 return ; 38 45 39 try 46 try 47 { 48 this._GetWindow().OutputObject( anyObject, color ) ; 49 } 50 catch ( e ) {} // Ignore errors 51 }, 52 53 _GetWindow : function() 40 54 { 41 this._GetWindow().Output( message, color ) ; 55 if ( !this.DebugWindow || this.DebugWindow.closed ) 56 this.DebugWindow = window.open( FCKConfig.BasePath + 'fckdebug.html', 'FCKeditorDebug', 'menubar=no,scrollbars=yes,resizable=yes,location=no,toolbar=no,width=600,height=500', true ) ; 57 58 return this.DebugWindow ; 42 59 } 43 catch ( e ) {} // Ignore errors 44 } 45 46 FCKDebug.OutputObject = function( anyObject, color ) 47 { 48 if ( ! FCKConfig.Debug ) 49 return ; 50 51 try 52 { 53 this._GetWindow().OutputObject( anyObject, color ) ; 54 } 55 catch ( e ) {} // Ignore errors 56 } 60 } ; -
FCKeditor/trunk/fckpackager.xml
r1590 r2069 78 78 <File path="editor/_source/internals/fck_ie.js" /> 79 79 <File path="editor/_source/internals/fckconfig.js" /> 80 <File path="editor/_source/internals/fckdebug .js" />80 <File path="editor/_source/internals/fckdebug_empty.js" /> 81 81 <File path="editor/_source/internals/fckdomtools.js" /> 82 82 <File path="editor/_source/internals/fcktools.js" /> … … 174 174 <File path="editor/_source/internals/fck_gecko.js" /> 175 175 <File path="editor/_source/internals/fckconfig.js" /> 176 <File path="editor/_source/internals/fckdebug .js" />176 <File path="editor/_source/internals/fckdebug_empty.js" /> 177 177 <File path="editor/_source/internals/fckdomtools.js" /> 178 178 <File path="editor/_source/internals/fcktools.js" /> -
FCKeditor/trunk/_whatsnew.html
r2063 r2069 38 38 New Features and Improvements:</p> 39 39 <ul> 40 <li></li> 40 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2043">#2043</a>] The debug 41 script is not any more part of the compressed files. If FCKeditor native debugging 42 features (FCKDebug) are required, the _source folder must be present in your installation.</li> 41 43 </ul> 42 44 <p>