Subversion Repositories Applications.papyrus

Rev

Rev 1925 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1925 Rev 2048
Line 1... Line 1...
1
/*
1
/*
2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4
 *
4
 *
5
 * == BEGIN LICENSE ==
5
 * == BEGIN LICENSE ==
6
 *
6
 *
7
 * Licensed under the terms of any of the following licenses at your
7
 * Licensed under the terms of any of the following licenses at your
8
 * choice:
8
 * choice:
Line 57... Line 57...
57
/**
57
/**
58
 * The minimum width used when replacing textareas.
58
 * The minimum width used when replacing textareas.
59
 */
59
 */
60
FCKeditor.MinWidth = 750 ;
60
FCKeditor.MinWidth = 750 ;
Line 61... Line 61...
61
 
61
 
62
FCKeditor.prototype.Version			= '2.6.3' ;
62
FCKeditor.prototype.Version			= '2.6.4' ;
Line 63... Line 63...
63
FCKeditor.prototype.VersionBuild	= '19836' ;
63
FCKeditor.prototype.VersionBuild	= '21629' ;
64
 
64
 
65
FCKeditor.prototype.Create = function()
65
FCKeditor.prototype.Create = function()
66
{
66
{
Line 104... Line 104...
104
	return sHtml ;
104
	return sHtml ;
105
}
105
}
Line 106... Line 106...
106
 
106
 
107
FCKeditor.prototype.ReplaceTextarea = function()
107
FCKeditor.prototype.ReplaceTextarea = function()
-
 
108
{
-
 
109
	if ( document.getElementById( this.InstanceName + '___Frame' ) )
108
{
110
		return ;
109
	if ( !this.CheckBrowser || this._IsCompatibleBrowser() )
111
	if ( !this.CheckBrowser || this._IsCompatibleBrowser() )
110
	{
112
	{
111
		// We must check the elements firstly using the Id and then the name.
113
		// We must check the elements firstly using the Id and then the name.
112
		var oTextarea = document.getElementById( this.InstanceName ) ;
114
		var oTextarea = document.getElementById( this.InstanceName ) ;
Line 173... Line 175...
173
 
175
 
174
	var sLink = this.BasePath + 'editor/' + sFile + '?InstanceName=' + encodeURIComponent( this.InstanceName ) ;
176
	var sLink = this.BasePath + 'editor/' + sFile + '?InstanceName=' + encodeURIComponent( this.InstanceName ) ;
175
	if (this.ToolbarSet)
177
	if (this.ToolbarSet)
Line 176... Line 178...
176
		sLink += '&Toolbar=' + this.ToolbarSet ;
178
		sLink += '&Toolbar=' + this.ToolbarSet ;
177
 
179
 
178
	html = '<iframe id="' + this.InstanceName +
180
	var html = '<iframe id="' + this.InstanceName +
179
		'___Frame" src="' + sLink +
181
		'___Frame" src="' + sLink +
Line 180... Line 182...
180
		'" width="' + this.Width +
182
		'" width="' + this.Width +