﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4764	Exception message in .appendTo() always shows null	Alfonso Martínez de Lizarrondo	Garry Yao	"If the CKEDITOR.appendTo() method is called with an invalid id the exception generated will always show ""[CKEDITOR.editor.appendTo] The element with id ""null"" was not found"" instead of the proper id.

This code fixes it (still searching for proper SVN cliente for Mac):

{{{
	CKEDITOR.editor.appendTo = function( elementOrId, config )
	{
		var element = elementOrId;
		if ( typeof element != 'object' )
		{
			element = document.getElementById( elementOrId );

			if ( !element )
				throw '[CKEDITOR.editor.appendTo] The element with id ""' + elementOrId + '"" was not found.';
		}

		// Create the editor instance.
		return new CKEDITOR.editor( config, element, CKEDITOR.ELEMENT_MODE_APPENDTO );
	};

}}}
"	Bug	closed	Normal	CKEditor 3.1	General	3.0.1	fixed	Review+	
