From adb0ef03f259dc15c535623e75186551114385ce Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Tue, 23 Jun 2009 10:50:04 +0000 Subject: [PATCH] use relative path for embedded images/files (same as r.27644). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27773 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_fckeditor/fck_browser/frmresourceslist.html.xml | 4 ++-- product/ERP5/bootstrap/erp5_xhtml_style/bt/revision | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fck_browser/frmresourceslist.html.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fck_browser/frmresourceslist.html.xml index f6fb0aafbe..64c53aee87 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fck_browser/frmresourceslist.html.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fck_browser/frmresourceslist.html.xml @@ -184,7 +184,7 @@ oListManager.AddFile = function( fileName, fileTitle, filePhoto, fileUrl, realUr \tvar oRow = this.Table.insertRow(-1) ;\n \n \t// Build the link to view the file.\n - var sLink = \'<a href="#" onclick="OpenFile(\\\'\' + fileUrl + \'\\\');return false;">\' ;\n + var sLink = \'<a href="#" onclick="OpenFile(\\\'\' + fileName + \'\\\');return false;">\' ;\n // Change the link if type is image since setUrl for images support more arguments\n if (sType==\'Image\') {\n \t sLink = \'<a href="#" onclick="OpenImage(\\\'\' + fileName + \'\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n @@ -303,7 +303,7 @@ oListManager.AddFileToAlbum = function( fileName, fileTitle, filePhoto, fileUrl, // init sLinksPhoto\n var sLinksPhoto=\'\' ;\n \t// Build the link to view the file.\n - var sLink = \'<a title="link the file" href="#" onclick="OpenFile(\\\'\' + fileUrl + \'\\\');return false;">\' ;\n + var sLink = \'<a title="link the file" href="#" onclick="OpenFile(\\\'\' + fileName + \'\\\');return false;">\' ;\n // Change the link if type is image since setUrl for images support more arguments\n if (sType==\'Image\') {\n \t sLink = \'<a title="link the image" href="#" onclick="OpenImage(\\\'\' + fileName + \'\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 126adfec91..eb6fa5affc 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -772 \ No newline at end of file +773 \ No newline at end of file -- 2.30.9