From 3fc5aeb7456fbda97b6fbc0fb66ddbc3aa253439 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Thu, 3 Apr 2014 16:25:35 +1300 Subject: [PATCH] Bug 12032: disable automatic URL conversion by TinyMCE in news 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 Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Passes all tests and QA script. Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/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 411ab1fa82..931b7d9c02 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", -- 2.39.5