]> git.mxchange.org Git - friendica.git/blobdiff - view/jot-header.tpl
provide a way to disable mailbox integration
[friendica.git] / view / jot-header.tpl
index 774b37c8603653a08712b8b35303394bd76ab108..94f0f58f844c584fe4637f0c4b2b41fdec53eaa9 100644 (file)
@@ -89,6 +89,7 @@ tinyMCE.init({
        function jotGetLink() {
                reply = prompt("$linkurl");
                if(reply && reply.length) {
+                       reply = bin2hex(reply);
                        $('#profile-rotator').show();
                        $.get('parse_url?url=' + reply, function(data) {
                                tinyMCE.execCommand('mceInsertRawHTML',false,data);
@@ -126,6 +127,13 @@ tinyMCE.init({
                }
        }
 
+       function jotTitle() {
+               reply = prompt("$title", $('#jot-title').val());
+               if(reply && reply.length) {
+                       $('#jot-title').val(reply);
+               }
+       }
+
        function jotShare(id) {
                $('#like-rotator-' + id).show();
                $.get('share/' + id, function(data) {