📄 Viewing: admin-uploader.js

jQuery(document).ready(function() {
    jQuery('.image-upload-button').on('click',function(e) {
        e.preventDefault();
        tb_show('', 'media-upload.php?type=image&TB_iframe=true');
        return false;
    });

    window.send_to_editor = function(html) {
        var img = jQuery('img',html).attr('src');
        jQuery(targetfield).val(img);
        tb_remove();
    };
});

🌑 DarkStealth — WP Plugin Edition

Directory: /home/httpd/html/matrixmodels.com/public_html_hacked/wp-content/plugins/foogallery/js