X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Fjot-header.tpl;h=808d51126224570f423b4f6c71a9b900182f8683;hb=7fb0f018dfb92f05290d454d4ff47771957638d4;hp=9b47ed56a71c39d048b9700c2a4c9ba040f30db1;hpb=891f686dcf47790e51915298e99d06fb055f43a9;p=friendica.git diff --git a/view/templates/jot-header.tpl b/view/templates/jot-header.tpl index 9b47ed56a7..808d511262 100644 --- a/view/templates/jot-header.tpl +++ b/view/templates/jot-header.tpl @@ -61,11 +61,11 @@ function enableOnUser(){ **/ /* callback */ - $('body').on('fbrowser.image.main', function(e, filename, embedcode, id) { + $('body').on('fbrowser.photo.main', function(e, filename, embedcode, id) { $.colorbox.close(); addeditortext(embedcode); }); - $('body').on('fbrowser.file.main', function(e, filename, embedcode, id) { + $('body').on('fbrowser.attachment.main', function(e, filename, embedcode, id) { $.colorbox.close(); addeditortext(embedcode); }); @@ -141,7 +141,7 @@ function enableOnUser(){ if ($('#jot-popup').length != 0) $('#jot-popup').show(); $('#like-rotator-' + id).show(); - $.get('share/' + id, function(data) { + $.get('post/' + id + '/share', function(data) { if (!editor) $("#profile-jot-text").val(""); initEditor(function(){ addeditortext(data);