Please help!!!!

I need to know what code I have to add in Ecal.js to permit that the drag and drop between Assigned User work.

Line 152
if(ECAL.items_draggable && ActRecord.module_name != 'Tasks' && ActRecord.editview == 1){
$(("#" + elm_id))
.draggable(
{
revert: 'invalid',
containment: '#week_div',
distance: 8,
cursorAt: {top: 4,left: 4},
zIndex: 600,
start: function(event, ui) {
ECAL.dropped = 0;
ECAL.records_openable = false;
ECAL.old_caption = ui.helper.find('div.record_head').html();
ECAL.moved_from_cell = ui.helper.parent().attr("id");

Line 677
ECAL.move_activity = function (box_id,slot_id,ex_slot_id){
var u = $("#"+box_id);
if(u.size()){
var s = $("#"+slot_id);
u.appendTo($("#"+slot_id));
ECAL.align_divs(slot_id);
ECAL.align_divs(ex_slot_id);
ECAL.cut_record(box_id);
var start_text = ECAL.get_header_text(ECAL.act_types[u.attr('module_name')],s.attr('lang'),u.attr('status'),u.attr('record'));
u.attr("date_start",s.attr("datetime"));
u.find('div.record_head .start_time').html(s.attr('lang'));

See picture attached.