]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/jot-header.tpl
Merge pull request #2847 from rabuzarus/0510-frio-edit-profile-button
[friendica.git] / view / theme / frio / templates / jot-header.tpl
index 3bec6839f082b1ab34e40a5a31dbbdb687d7abbe..792c1d1a3b57274113c266adf59655caab015094 100644 (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
@@ -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')