From: Benoît Pin Date: Tue, 30 Aug 2011 11:01:35 +0000 (+0200) Subject: Passage à ckeditor pour la sélection de l'image échantillon. X-Git-Url: https://scm.cri.ensmp.fr/git/Portfolio.git/commitdiff_plain/e9f7e6e7ebe0e46a25837c559d3670813834bdd6?hp=f6794ee8f821a5c911be67232b88024040fdc419 Passage à ckeditor pour la sélection de l'image échantillon. --- diff --git a/skins/portfolio_presentation_template.pt b/skins/portfolio_presentation_template.pt index 4c50ccc..3dccb96 100644 --- a/skins/portfolio_presentation_template.pt +++ b/skins/portfolio_presentation_template.pt @@ -58,9 +58,9 @@ fm.onBeforeSubmit = function(m, evt) { if (m.submitButton.name == 'selectSample') { var path = absolute_url().slice(portal_url().length); - var url = portal_url() + "/editor/filemanager/browser/mac_finder/browser.html?Connector=connectors/plinn/connector&Type=Image&path=" + path + '/'; + var url = portal_url() + "/ckeditor/filemanager/browser/mac_finder/browser.html?Connector=connectors/plinn/connector&Type=Image&path=" + path + '/'; var winOptions = "toolbar=no,status=no,resizable=yes,dependent=yes,scrollbars=yes,width=645,height=405"; - window.open(url, 'sampleImageSelector', winOptions); + window.open(url, 'StandaloneBrowser', winOptions); window.SetUrl = function (url) { with(m.submitButton) {