Bugzilla – Attachment 71549 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: TinyMCE is broken and not displayed
Bug-20190-TinyMCE-is-broken-and-not-displayed.patch (text/plain), 3.08 KB, created by
Kyle M Hall (khall)
on 2018-02-13 15:07:13 UTC
(
hide
)
Description:
Bug 20190: TinyMCE is broken and not displayed
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-02-13 15:07:13 UTC
Size:
3.08 KB
patch
obsolete
>From 7c9fd50444d3b07295df6b8738dae9f28dceb572 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatetsolutions.com> >Date: Tue, 13 Feb 2018 10:01:05 -0500 >Subject: [PATCH] Bug 20190: TinyMCE is broken and not displayed > >Changes made by bug 12904 appear to have affected TinyMCE. > >Test plan: >1) Edit a library, note the OPAC info editor is missing >2) Apply this patch >3) Reload the page >4) The editor is back! >--- > koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt | 1 + > 4 files changed, 4 insertions(+) > >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 0573daa..1e23e9a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc >@@ -9,6 +9,7 @@ function wysiwyg_change (ed){ > $(original_textarea).trigger("input"); > } > >+tinyMCE.baseURL = "/intranet-tmpl/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 8890867..6bbbc2f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -267,6 +267,7 @@ > }); > [% END %] > }); >+ tinyMCE.baseURL = "/intranet-tmpl/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 e21be5d..e99e1ca 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt >@@ -2,6 +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.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 7482f3e..5273d46 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,6 +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.init({ > mode : "textareas", > theme : "advanced", >-- >2.10.2
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