]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/smoothly/templates/jot-header.tpl
Merge pull request #12429 from MrPetovan/bug/contactblock-icon
[friendica.git] / view / theme / smoothly / templates / jot-header.tpl
index cfd21035d0c8e6e35cf7e8f1fd674fbdc270ba83..69233b92602661bce395a98397f32e0df4b2773f 100644 (file)
@@ -168,13 +168,13 @@ function enableOnUser(){
 
        function jotShare(id) {
                $('#like-rotator-' + id).show();
-               $.get('share/' + id, function(data) {
-                               if (!editor) $("#profile-jot-text").val("");
-                               initEditor(function(){
-                                       addeditortext(data);
-                                       $('#like-rotator-' + id).hide();
-                                       $(window).scrollTop(0);
-                               });
+               $.get('post/' + id + '/share', function(data) {
+                       if (!editor) $("#profile-jot-text").val("");
+                       initEditor(function(){
+                               addeditortext(data);
+                               $('#like-rotator-' + id).hide();
+                               $(window).scrollTop(0);
+                       });
                });
        }
 
@@ -210,7 +210,7 @@ function enableOnUser(){
                                commentBusy = true;
                                $('body').css('cursor', 'wait');
 
-                               $.get('tagger/' + id + '?term=' + reply);
+                               $.post('post/' + id + '/tag/add', {term: reply});
                                if(timer) clearTimeout(timer);
                                timer = setTimeout(NavUpdate,3000);
                                liking = 1;