﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
7824	Cannot call method 'split' of undefined on CKEDITOR.replace	Michael Camden		"Our page has several divs that are placeholders for CKEDITOR instances. When a user clicks on one, it closes the active editor, and creates a new instance of CKEDITOR on the clicked div using CKEDITOR.replace. When you have an editor instance open, right click to open the context menu twice, and click on another div to open the editor, I get this error.

Cannot call method 'split' of undefined

This error only occurs when I am using ckeditor.js and not ckeditor_source.js. I've tracked the error down to line 23 of ckeditor.js. Here is a snippet of the issue:

{{{
q=function(x){var y=x.config.skin.split(','),z=y[0],A=a.getUrl(y[1]||'skins/'+z+'/');
}}}

Interestingly, I cannot find any reference in the source to 'config.skin.split'. It seems that this only exists in the ckeditor.js file.

Steps to reproduce:
1. Start out on a page with two div elements with ids, 'editor1', 'editor2'.
2. Use CKEDITOR.replace to replace 'editor1'
3. Right click on the active editor to activate the context menu
4. Left click on the active editor, not clicking on the menu items
5. Repeat Step 3
6. Repeat Step 4
7. Use CKEDITOR.replace to replace 'editor2'

Tested in Chrome, IE8/9
"	Bug	confirmed	Normal		General	3.5.3		review?	mcamden@… WebSpellChecker.net
