Error: this._.panel is undefined
source: http://localhost/ckeditor/ckeditor.js
Line: 42
<a href="javascript:SetUrl('path_to_file');"><script type="text/javascript">
CKEditorFuncNum = 1;
function SetUrl( fileUrl )
{
window.top.opener.CKEDITOR.tools.callFunction(CKEditorFuncNum, fileUrl);
window.top.close();
}
</script>
Re: filemanager gives this._.panel is undefined
I'm using ckeditor version 3.1 and ckfinder version 1.4.2, both for coldfusion. The problem seems specific to firefox for me, I'm using version 3.5.6
Is anyone else having this problem ?
Re: filemanager gives this._.panel is undefined
kind regards Fred Stuurman
Re: filemanager gives this._.panel is undefined
function setLink(url) { if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)){ var uf = 2; }else{ var uf = 1; } window.opener.CKEDITOR.tools.callFunction(uf, url); }Re: filemanager gives this._.panel is undefined
Re: filemanager gives this._.panel is undefined
Just parse the parameter "CKEditorFuncNum" from the url !
In asp :
<%
CKEditorFuncNum=request("CKEditorFuncNum")
%>
function SetUrl( fileUrl )
{
window.opener.CKEDITOR.tools.callFunction(<%=CKEditorFuncNum%>, fileUrl);
window.close();
You could just as well do it with javascript (with regex)