fires when the id of a link is changed
gantt.attachEvent("onLinkIdChange", function(id,new_id){ //any custom logic here });