return;
}
switch(window.parent.name) {
- case 'FCKeditorDialog_PlinnImage' :
+ case 'PlinnImageDialog' :
if (li.className == 'contentish-selected') {
window.parent.updateOrInsertImage(li.link);
window.close();
}
break;
+ case 'StandaloneBrowser' :
+ if (li.className == 'contentish-selected') {
+ window.opener.SetUrl(li.link);
+ window.close();
+ }
+ break;
case '' :
case '_blank' :
var funcNum = GetUrlParam('CKEditorFuncNum');
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' :
+ case 'StandaloneBrowser' :
+ window.opener.SetUrl(url);
+ break;
default:
var funcNum = GetUrlParam('CKEditorFuncNum');
window.opener.CKEDITOR.tools.callFunction(funcNum, url);