config.contentsCss = CKEDITOR.basePath + 'global_plinn_style.css';\r
\r
config.filebrowserBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Connector=connectors/plinn/connector';\r
+ CKEDITOR.config.filebrowserImageBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Type=Image&Connector=connectors/plinn/connector';\r
config.filebrowserWindowHeight = 600;\r
config.filebrowserWindowWidth = 801;\r
config.attachmentBrowserConnectorUrl = CKEDITOR.basePath + 'plugins/plinn_image/connectors/plinn/connector';\r
return;
}
switch(window.parent.name) {
- case 'FCKeditorDialog_PlinnImage' :
+ case 'PlinnImageDialog' :
if (li.className == 'contentish-selected') {
window.parent.updateOrInsertImage(li.link);
window.close();
createLinkBtn.onclick = function(){
var url = respDom.lastChild.firstChild.nodeValue;
switch(window.parent.name) {
- case 'FCKeditorDialog_PlinnImage' :
+ case 'PlinnImageDialog' :
window.parent.updateOrInsertImage(url);
break;
- case 'FCKBrowseWindow' :
default:
var funcNum = GetUrlParam('CKEditorFuncNum');
window.opener.CKEDITOR.tools.callFunction(funcNum, url);
tabs = document.getElementsByTagName('a');
tabs[0].href = pluginPath + 'dialog/embedded_images.html';
- //tabs[1].href = window.parent.FCKConfig.ImageBrowserURL;
+ tabs[1].href = window.parent.editor.config.filebrowserImageBrowseUrl;
addListener(document, 'click', updateTabs)
};
addListener(window, 'load', initTabs);