From 6d1c3af91bec4e5f93f6531be3aa8de4c4608efe 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=utf8 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 Signed-off-by: Sally Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- 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' %]