From c0e445ac51b5936300095922464b60f68aa2ee91 Mon Sep 17 00:00:00 2001 From: A Date: Fri, 12 Jan 2018 15:27:57 +0100 Subject: [PATCH] Makes the editor focusable. It's related to CachetHQ/Cachet#2749 On the incident template creation the editor was not focusable, now it is. The problem was the initialization of the editor that was done before the DOM is fully loaded. Using addEventListener and DOMContentListener fixes the problem and is compatible from IE9. --- resources/views/dashboard/templates/add.blade.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/resources/views/dashboard/templates/add.blade.php b/resources/views/dashboard/templates/add.blade.php index dc7318ee..603a6c25 100644 --- a/resources/views/dashboard/templates/add.blade.php +++ b/resources/views/dashboard/templates/add.blade.php @@ -9,13 +9,14 @@ @stop