Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Group Avatar Upload isn\'t showing up – wp_enqueue_script( \'thickbox\' )


tmuikku
Member

@tmuikku

Running WP (single) 2.9.2 and BP 1.2.1 with default theme. wp_enqueue_script( ‘thickbox’ ); will break group creation!

I don’t have time to find out why, but somehow it relates to loader image thickbox initiates. This fixes it out, you won’t be seeing the loader though..

wp-includes/js/thickbox/thickbox.js

//on page load call tb_init

jQuery(document).ready(function(){

tb_init(‘a.thickbox, area.thickbox, input.thickbox’);//pass where to apply thickbox

imgLoader = new Image();// preload image

imgLoader.src = “”;//tb_pathToImage;

});

Skip to toolbar