From 9170955f80f554c2f8e6abf5ce49aadc431e59fd Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Fri, 1 Jul 2016 17:03:40 +0200 Subject: [PATCH] frio: fix textcomplete for jot --- view/theme/frio/templates/jot-header.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/view/theme/frio/templates/jot-header.tpl b/view/theme/frio/templates/jot-header.tpl index 3bec6839f..7c8d502de 100644 --- a/view/theme/frio/templates/jot-header.tpl +++ b/view/theme/frio/templates/jot-header.tpl @@ -127,7 +127,7 @@ function initEditor(cb){ function enableOnUser(){ if (editor) return; - $(this).val(""); + //$(this).val(""); initEditor(); } @@ -143,8 +143,8 @@ function enableOnUser(){ $(document).ready(function() { /* enable tinymce on focus and click */ - //$("#profile-jot-text").focus(enableOnUser); - //$("#profile-jot-text").click(enableOnUser); + $("#profile-jot-text").focus(enableOnUser); + $("#profile-jot-text").click(enableOnUser); // When clicking on a forum in acl we should remove the profile jot textarea // default value before inserting the forum mention