From b4cb83cf7844754bb7500e9fcc9aed97b8c0fc11 Mon Sep 17 00:00:00 2001 From: Lucas Gass 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 %] }); [% ELSE %] - [% INCLUDE 'str/tinymce_i18n.inc' %] [% Asset.js("lib/tiny_mce/tinymce.min.js") | $raw %] + [% INCLUDE 'str/tinymce_i18n.inc' %]