'elfinder': { getFileCallback : function(file, fm) { window.opener.CKEDITOR.tools.callFunction((function() { var reParam = new RegExp('(?:[\?&]|&)CKEditorFuncNum=([^&]+)', 'i') ; var match = window.location.search.match(reParam) ; return (match && match.length > 1) ? match[1] : '' ; })(), fm.convAbsUrl(file.url)); fm.destroy(); window.close(); } , height : '100%' // optional , resizable : false // optional }