When uploading media to a file field created using CFT, sometimes (not always) i click on the 'Use this' link and nothing happens. Whenever this happens, restarting the browser enables me to upload in most cases.
My firefox error console traces the error to this function on line 2359 and gives a 'Permission denied to use property jQuery' message:
function cft_use_this(file_id) {
var win = window.dialogArguments || opener || parent || top;
win.jQuery("#"+win.jQuery("#cft_clicked_id").val()+"_hide").val(file_id);
var fields = win.jQuery("#cft :input").fieldSerialize();
win.jQuery.ajax({type: "POST", url: "?page=custom-field-template/custom-field-template.php&cft_mode=ajaxsave&post="+win.jQuery('#post_ID').val()+"&custom-field-template-verify-key="+win.jQuery("#custom-field-template-verify-key").val(), data: fields, success: function() {win.jQuery.ajax({type: "GET", url: "?page=custom-field-template/custom-field-template.php&cft_mode=ajaxload&id="+win.jQuery("#custom-field-template-id").val()+"&post="+win.jQuery('#post_ID').val(), success: function(html) {win.jQuery("#cft").html(html);win.tb_remove();}});}});
}
When i replace 'win.jQuery' with just 'jQuery' then everything works, but the thickbox window doesnt close.