diff --git a/admin/writepanels/writepanel-product-type-downloadable.php b/admin/writepanels/writepanel-product-type-downloadable.php deleted file mode 100644 index 4add24fe05a..00000000000 --- a/admin/writepanels/writepanel-product-type-downloadable.php +++ /dev/null @@ -1,118 +0,0 @@ - -
- - jQuery(function(){ - - window.send_to_editor_default = window.send_to_editor; - - jQuery('.upload_file_button').live('click', function(){ - - var post_id = ID; ?>; - - formfield = jQuery('#file_path').attr('name'); - - window.send_to_editor = window.send_to_download_url; - - tb_show('', 'media-upload.php?post_id=' + post_id + '&type=file&from=wc01&TB_iframe=true'); - return false; - }); - - window.send_to_download_url = function(html) { - - file_url = jQuery(html).attr('href'); - if (file_url) { - jQuery('#file_path').val(file_url); - } - tb_remove(); - window.send_to_editor = window.send_to_editor_default; - - } - - }); - - - -