Merge pull request #2653 from rabuzarus/0107_frio_jot_textcomplete
frio: fix textcomplete for jot
This commit is contained in:
commit
0344d26896
1 changed files with 3 additions and 3 deletions
|
@ -127,7 +127,7 @@ function initEditor(cb){
|
||||||
|
|
||||||
function enableOnUser(){
|
function enableOnUser(){
|
||||||
if (editor) return;
|
if (editor) return;
|
||||||
$(this).val("");
|
//$(this).val("");
|
||||||
initEditor();
|
initEditor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -143,8 +143,8 @@ function enableOnUser(){
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
/* enable tinymce on focus and click */
|
/* enable tinymce on focus and click */
|
||||||
//$("#profile-jot-text").focus(enableOnUser);
|
$("#profile-jot-text").focus(enableOnUser);
|
||||||
//$("#profile-jot-text").click(enableOnUser);
|
$("#profile-jot-text").click(enableOnUser);
|
||||||
|
|
||||||
// When clicking on a forum in acl we should remove the profile jot textarea
|
// When clicking on a forum in acl we should remove the profile jot textarea
|
||||||
// default value before inserting the forum mention
|
// default value before inserting the forum mention
|
||||||
|
|
Loading…
Reference in a new issue