гуня, попробуйте так:
$('.box-min-'+data.status+' .main_box').append(
$("#leadTemplate").tmpl(leads)
).find(".draggable-item:not(.handled)").addClass('handled').contextmenu({
'update lead': function(event, element) { location.href = '/lead/update/' + $(element).attr('id'); },
'update notes': setNotes,
'copy lead': function(event, element) { location.href = '/lead/create/' + $(element).attr('id'); }
}, 'right');