From 30912c514edabf1f1ed08d1fbd0d802607685d45 Mon Sep 17 00:00:00 2001 From: zmagod Date: Thu, 26 Jan 2017 17:24:24 +0100 Subject: [PATCH] fix edit action --- app/assets/javascripts/results/result_texts.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/assets/javascripts/results/result_texts.js b/app/assets/javascripts/results/result_texts.js index 649d5d2b8..0be621377 100644 --- a/app/assets/javascripts/results/result_texts.js +++ b/app/assets/javascripts/results/result_texts.js @@ -37,10 +37,8 @@ function applyEditResultTextCallback() { applyEditResultTextCallback(); toggleResultEditButtons(true); }); - - TinyMCE.init(); toggleResultEditButtons(false); - + TinyMCE.refresh(); $("#result_name").focus(); });