X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Fjot-header.tpl;h=8d009fd40cdd1f81bdabb65fb63a6379fbbaa1e8;hb=f5657e283ccbd30acbb345851661161338cb5826;hp=c4934f10b6bb8edac752e67a9faff35fb4fd0b4f;hpb=b52158e7cfec4c9d96baa856a68857c56c9288d3;p=friendica.git diff --git a/view/templates/jot-header.tpl b/view/templates/jot-header.tpl index c4934f10b6..8d009fd40c 100644 --- a/view/templates/jot-header.tpl +++ b/view/templates/jot-header.tpl @@ -142,21 +142,21 @@ function enableOnUser(){ **/ /* callback */ - $('body').on('fbrowser.image', function(e, filename, embedcode, id) { + $('body').on('fbrowser.image.main', function(e, filename, embedcode, id) { $.colorbox.close(); addeditortext(embedcode); }); - $('body').on('fbrowser.file', function(e, filename, embedcode, id) { + $('body').on('fbrowser.file.main', function(e, filename, embedcode, id) { $.colorbox.close(); addeditortext(embedcode); }); $('#wall-image-upload').on('click', function(){ - $.colorbox({href: baseurl + "/fbrowser/image/?mode=minimal", iframe:true,innerWidth:'500px',innerHeight:'400px'}) + $.colorbox({href: baseurl + "/fbrowser/image/?mode=minimal#main", iframe:true,innerWidth:'500px',innerHeight:'400px'}) }); $('#wall-file-upload').on('click', function(){ - $.colorbox({href: baseurl + "/fbrowser/file/?mode=minimal", iframe:true,innerWidth:'500px',innerHeight:'400px'}) + $.colorbox({href: baseurl + "/fbrowser/file/?mode=minimal#main", iframe:true,innerWidth:'500px',innerHeight:'400px'}) }); /**