Bugzilla – Attachment 107725 Details for
Bug 26124
Console errors on tools_koha-news when editing with TinyMCE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26124: Load TinyMCE assets in correct order
Bug-26124-Load-TinyMCE-assets-in-correct-order.patch (text/plain), 1.25 KB, created by
Lucas Gass (lukeg)
on 2020-08-04 03:02:57 UTC
(
hide
)
Description:
Bug 26124: Load TinyMCE assets in correct order
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2020-08-04 03:02:57 UTC
Size:
1.25 KB
patch
obsolete
>From b4cb83cf7844754bb7500e9fcc9aed97b8c0fc11 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 4 Aug 2020 02:59:32 +0000 >Subject: [PATCH] Bug 26124: Load TinyMCE assets in correct order >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >1. Make sure NewsToolEditor is set to TinyMCE >2. Go to Home ⺠Tools ⺠News ⺠Add news item >3. Observe console error >4. Apply patch >5. No console error >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 9cc58f371d..6db7d8d3ca 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 >@@ -321,8 +321,8 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> > }); > </script> > [% ELSE %] >- [% INCLUDE 'str/tinymce_i18n.inc' %] > [% Asset.js("lib/tiny_mce/tinymce.min.js") | $raw %] >+ [% INCLUDE 'str/tinymce_i18n.inc' %] > <script> > tinyMCE.init({ > verify_html: false, >-- >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 26124
:
107725
|
107726
|
107843