diff -r 2f6f6f7551ca -r 32102edaa81b web/wp-content/plugins/slideshow-jquery-image-gallery/js/SlideshowPluginUpload/upload-button.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/wp-content/plugins/slideshow-jquery-image-gallery/js/SlideshowPluginUpload/upload-button.js Mon Nov 19 18:26:13 2012 +0100 @@ -0,0 +1,8 @@ +jQuery(document).ready(function(){ + jQuery('#upload_image_button').click(function() { + formfield = jQuery('#upload_image').attr('name'); + post_id = jQuery('#post_ID').val(); + tb_show('', 'media-upload.php?post_id='+post_id+'&type=image&TB_iframe=true'); + return false; + }); +}); \ No newline at end of file