From 2bf934d0606d6996db7c9ebf8326316179f7e018 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Thu, 3 Apr 2014 16:25:35 +1300 Subject: [PATCH] Bug 12032 - TinyMCE rewrites urls in a very annoying and unexpected way To test: * create a news item with a link in it that is within the same domain example: my koha was at http://demo.mykoha.co.nz, I created a link in a news item to http://demo-intra.mykoha.co.nz * note that when the item is saved, the url changes to ../../../../ (or something like) * apply the patch * edit the link again, and save it * note that the link is saved correctly --- .../prog/en/modules/tools/koha-news.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt index 411ab1f..931b7d9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt @@ -29,6 +29,8 @@ var MSG_CONFIRM_DELETE_NEWS = _("Are you sure you want to delete the selected n tinyMCE.init({ mode : "textareas", theme : "advanced", + convert_urls : false, + relative_urls : false, content_css : "[% themelang %]/css/tinymce.css", plugins : "table,save,advhr,advlink,searchreplace,print,contextmenu", theme_advanced_buttons1 : "save,|,bold,italic,|,cut,copy,paste,|,search,replace,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,|,link,unlink,anchor,cleanup,help,code,advhr,|,print", -- 1.7.9.5