Bugzilla – Attachment 71551 Details for
Bug 20190
TinyMCE is broken and not displayed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20190: Replace intranet-tmpl with [% interface %]
Bug-20190-Replace-intranet-tmpl-with--interface-.patch (text/plain), 3.18 KB, created by
Jonathan Druart
on 2018-02-13 15:33:47 UTC
(
hide
)
Description:
Bug 20190: Replace intranet-tmpl with [% interface %]
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-02-13 15:33:47 UTC
Size:
3.18 KB
patch
obsolete
>From 7a99ca7279cfb760c552781830bf614336f1f0cd Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 13 Feb 2018 12:33:30 -0300 >Subject: [PATCH] Bug 20190: Replace intranet-tmpl with [% interface %] > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc >index 1e23e9abeb..d96a2799b3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc >@@ -9,7 +9,7 @@ function wysiwyg_change (ed){ > $(original_textarea).trigger("input"); > } > >-tinyMCE.baseURL = "/intranet-tmpl/lib/tiny_mce"; >+tinyMCE.baseURL = "[% interface %]/lib/tiny_mce"; > tinyMCE.init({ > setup : function(ed) { > ed.onInit.add(function(editor){ >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >index 6bbbc2f292..99777c86ab 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -267,7 +267,7 @@ > }); > [% END %] > }); >- tinyMCE.baseURL = "/intranet-tmpl/lib/tiny_mce"; >+ tinyMCE.baseURL = "[% interface %]/lib/tiny_mce"; > tinyMCE.init({ > mode : "textareas", > theme : "advanced", >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt >index e99e1ca3b2..ae5cb530e6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt >@@ -2,7 +2,7 @@ > <title>Online help</title> > <script type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce_[% KOHA_VERSION %].js"></script> > <script type="text/javascript">//<![CDATA[ >-tinyMCE.baseURL = "/intranet-tmpl/lib/tiny_mce"; >+tinyMCE.baseURL = "[% interface %]/lib/tiny_mce"; > tinyMCE.init({ > mode : "textareas", > theme : "advanced", >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 5273d46944..ca9281d350 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 >@@ -261,7 +261,7 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> > [% END %] > <script type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce_[% KOHA_VERSION %].js"></script> > <script type="text/javascript"> >- tinyMCE.baseURL = "/intranet-tmpl/lib/tiny_mce"; >+ tinyMCE.baseURL = "[% interface %]/lib/tiny_mce"; > tinyMCE.init({ > mode : "textareas", > theme : "advanced", >-- >2.11.0
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 20190
:
71549
|
71550
| 71551