]> git.mxchange.org Git - friendica.git/blobdiff - view/jot-header.tpl
Merge branch 'pull'
[friendica.git] / view / jot-header.tpl
index 795267ee30d925b9e6e071b12cbd9690bae67c3d..eb74c31dad41466d3ba270aaf088564e053427d4 100644 (file)
@@ -11,6 +11,7 @@ function initEditor(cb){
                        theme : "advanced",
                        mode : "specific_textareas",
                        editor_selector: /(profile-jot-text|prvmail-text)/,
+                       auto_focus: "profile-jot-text",
                        plugins : "bbcode,paste,autoresize",
                        theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
                        theme_advanced_buttons2 : "",
@@ -141,7 +142,7 @@ function initEditor(cb){
                if(reply && reply.length) {
                        reply = bin2hex(reply);
                        $('#profile-rotator').show();
-                       $.get('parse_url?url=' + reply, function(data) {
+                       $.get('parse_url?binurl=' + reply, function(data) {
                                tinyMCE.execCommand('mceInsertRawHTML',false,data);
                                $('#profile-rotator').hide();
                        });