X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftemplates%2Fjot-header.tpl;h=792c1d1a3b57274113c266adf59655caab015094;hb=20e10a50c0caa0d85c4830f596d5f77b626fb81e;hp=3bec6839f082b1ab34e40a5a31dbbdb687d7abbe;hpb=571a4fed99a5aa215d622d140246861bcf44dbce;p=friendica.git diff --git a/view/theme/frio/templates/jot-header.tpl b/view/theme/frio/templates/jot-header.tpl index 3bec6839f0..792c1d1a3b 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 @@ -397,7 +397,7 @@ function enableOnUser(){ function jotShow() { var modal = $('#jot-modal').modal(); - jotcache = $("#profile-jot-form"); + jotcache = $("#jot-sections"); modal .find('#jot-modal-content')