2
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
7
* Licensed under the terms of any of the following licenses at your
10
* - GNU General Public License Version 2 or later (the "GPL")
11
* http://www.gnu.org/licenses/gpl.html
13
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
14
* http://www.gnu.org/licenses/lgpl.html
16
* - Mozilla Public License Version 1.1 or later (the "MPL")
17
* http://www.mozilla.org/MPL/MPL-1.1.html
21
* Debug window control and operations.
24
// Public function defined here must be declared in fckdebug_empty.js.
28
Output : function( message, color, noParse )
30
if ( ! FCKConfig.Debug )
35
this._GetWindow().Output( message, color, noParse ) ;
37
catch ( e ) {} // Ignore errors
40
OutputObject : function( anyObject, color )
42
if ( ! FCKConfig.Debug )
47
this._GetWindow().OutputObject( anyObject, color ) ;
49
catch ( e ) {} // Ignore errors
52
_GetWindow : function()
54
if ( !this.DebugWindow || this.DebugWindow.closed )
55
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
return this.DebugWindow ;