Merge pull request #2653 from rabuzarus/0107_frio_jot_textcomplete

frio: fix textcomplete for jot
This commit is contained in:
Tobias Diekershoff 2016-07-01 17:18:25 +02:00 committed by GitHub
commit 0344d26896

View file

@ -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