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://svn.cri.ensmp.fr/git/Portfolio.git/commitdiff_plain/e9f7e6e7ebe0e46a25837c559d3670813834bdd6?ds=sidebyside;hp=-c Passage à ckeditor pour la sélection de l'image échantillon. --- e9f7e6e7ebe0e46a25837c559d3670813834bdd6 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) {