From 226d255279bd8f5a38a4b55b5dae9250a6cbcbd2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Pin?= Date: Tue, 30 Aug 2011 13:07:57 +0200 Subject: [PATCH] =?utf8?q?Prise=20en=20charge=20du=20mode=20=C2=AB=C2=A0St?= =?utf8?q?andaloneBrowser=C2=A0=C2=BB=20qui=20est=20actuellement=20utilis?= =?utf8?q?=C3=A9=20par=20le=20produit=20=C2=AB=C2=A0Portfolio=C2=A0=C2=BB?= =?utf8?q?=20pour=20d=C3=A9finir=20l'image=20=C3=A9chantillon.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../filemanager/browser/mac_finder/browser.html.dtml | 9 +++++++++ 1 file changed, 9 insertions(+) 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); -- 2.20.1