From 967334dd1a3101ace2958a2843bb8b762617fe46 Mon Sep 17 00:00:00 2001 From: Alexander Menk Date: Mon, 17 Sep 2018 21:29:06 +0200 Subject: [PATCH] #64 Easy Redmine 2018 compatibility We have to load textcomplete a bit later, ensuring easy_ckeditor is already loaded --- .../_edit_mentionable.html.erb | 64 +++++++++++-------- 1 file changed, 38 insertions(+), 26 deletions(-) diff --git a/app/views/hooks/redmine_mentions/_edit_mentionable.html.erb b/app/views/hooks/redmine_mentions/_edit_mentionable.html.erb index b747af8..4a2498d 100644 --- a/app/views/hooks/redmine_mentions/_edit_mentionable.html.erb +++ b/app/views/hooks/redmine_mentions/_edit_mentionable.html.erb @@ -11,32 +11,44 @@ <% users_regex = users.collect{|u| "#{Setting.plugin_redmine_mentions['trigger']}#{u.login}"}.join('|')%> <% regex_highlight = '/\B('+users_regex+')\b/g' %>