X-Git-Url: https://scm.cri.mines-paristech.fr/git/ckeditor.git/blobdiff_plain/050cf4acaa2c233cc8d2452faeb5b51e3d10b5c9..2bfd716a52b02cffa159523c2911fbbf519772c2:/skins/ckeditor/filemanager/browser/mac_finder/browser.html.dtml diff --git a/skins/ckeditor/filemanager/browser/mac_finder/browser.html.dtml b/skins/ckeditor/filemanager/browser/mac_finder/browser.html.dtml index 1762c04..0b3234a 100644 --- a/skins/ckeditor/filemanager/browser/mac_finder/browser.html.dtml +++ b/skins/ckeditor/filemanager/browser/mac_finder/browser.html.dtml @@ -97,6 +97,12 @@ 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'); @@ -303,6 +309,9 @@ case 'PlinnImageDialog' : window.parent.updateOrInsertImage(url); break; + case 'StandaloneBrowser' : + window.opener.SetUrl(url); + break; default: var funcNum = GetUrlParam('CKEditorFuncNum'); window.opener.CKEDITOR.tools.callFunction(funcNum, url);