rem: old_date = source_comps[0]; old_time = source_comps[1]; new_date = target_comps[0]; new_time = target_comps[1]; old_loc = (source_comps.length == 3) ?  source_comps[2] : ''; new_loc = (target_comps.length == 3) ?  target_comps[2] : ''; 
add: old_date = source_comps[1]; old_time = source_comps[2]; new_date = target_comps[1]; new_time = target_comps[2]; old_loc = (source_comps.length == 4) ?  source_comps[3] : ''; new_loc = (target_comps.length == 4) ?  target_comps[3] : ''; 
context: function confirmDrag(movingElt, newCell){	var source_comps = originalParent.id.split('_');	var target_comps = newCell.id.split('_');	old_date = source_comps[0];	old_time = source_comps[1];	new_date = target_comps[0];	new_time = target_comps[1];	old_loc = (source_comps.length == 3) ?  source_comps[2] : '';	new_loc = (target_comps.length == 3) ?  target_comps[2] : '';	// can't drag in or out of the 'other' column	if (Boolean(old_time == 'allday') != Boolean(new_time == 'allday')) {		statusBarMsg(js_translate('cal_page_all_day_cannot_drag'));		return false;	}	// can't drag in or out of the 'all day' row	if (Boolean(old_loc == '*') != Boolean(new_loc == '*')) {		statusBarMsg(js_translate('cal_page_other_cannot_drag'));		return false;	}	toggleFlashing(movingElt.id);	if (new_loc == '') {		if (new_time == 'allday') {			var msg = js_translate('confirm_move_event_to_date', new_date);		} else {			var msg = js_translate('confirm_move_event_to_datetime', new_date, new_time);		}	} else {		var location_name = columnNames[String(new_loc)];		if (new_time == 'allday') {			var msg = js_translate('confirm_move_event_to_place_date', location_name, new_date);		} else {			var msg = js_translate('confirm_move_event_to_place_datetime', location_name, new_date, new_time);		}	}	if (!confirm(msg)) {		toggleFlashing(movingElt.id);		return false;	} else {		return true;	}}//end confirmDrag()
meta: 5635	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5635/effbefddf3b9559d60b45ec83bc1a92708368ed6/drag_n_drop.js/clean/packages/calendar/page_templates/page_calendar/js/drag_n_drop.js