Bugzilla – Attachment 26792 Details for
Bug 12032
TinyMCE rewrites urls in a very annoying and unexpected way
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 12032 - TinyMCE rewrites urls in a very annoying and unexpected way
SIGNED-OFF-Bug-12032---TinyMCE-rewrites-urls-in-a-.patch (text/plain), 1.64 KB, created by
Owen Leonard
on 2014-04-03 13:04:12 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 12032 - TinyMCE rewrites urls in a very annoying and unexpected way
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-04-03 13:04:12 UTC
Size:
1.64 KB
patch
obsolete
>From b178e1e9d6e33a1bcf492f90165e732e08696e3f Mon Sep 17 00:00:00 2001 >From: Liz Rea <liz@catalyst.net.nz> >Date: Thu, 3 Apr 2014 16:25:35 +1300 >Subject: [PATCH] [SIGNED-OFF] Bug 12032 - TinyMCE rewrites urls in a very > annoying and unexpected way >Content-Type: text/plain; charset="utf-8" > >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 <oleonard@myacpl.org> >--- > .../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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12032
:
26785
|
26792
|
26844