From 55de3d10880eed5ad2e42f0a64c25c375f0c26a6 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Wed, 27 May 2009 03:51:46 +0000 Subject: [PATCH] set the base url for relative paths. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27207 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_fckeditor/fckeditor_wysiwyg_support.xml | 3 +++ product/ERP5/bootstrap/erp5_xhtml_style/bt/revision | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckeditor_wysiwyg_support.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckeditor_wysiwyg_support.xml index 5f97e678a6..4334ab8b30 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckeditor_wysiwyg_support.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckeditor_wysiwyg_support.xml @@ -68,6 +68,9 @@ var pathUser = \'${path_user}/\';\n oFCKeditor.BasePath = \'${path_user}/\';\n oFCKeditor.Value = \'${cleaninput}\';\n \n +// set the base url for relative paths\n +oFCKeditor.Config[\'BaseHref\'] = \'${baseHrefUrl}/\';\n +\n // set the css for editor area\n oFCKeditor.Config[\'EditorAreaCSS\'] = \'${portal_path}erp5_editor.css\';\n \n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index e9769c1995..cbb5735d83 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -759 \ No newline at end of file +760 \ No newline at end of file -- 2.30.9