rem: var revert = function() { te.dependants.value = te.orig_dependant.value; return; } 
add: var revert = function() { te.dependants.value = te.orig_dependants.value; return; } 
context: function predecessorChanged(form, suffix, isTaskForm, gotDelay) {   if (!isTaskForm && !gotDelay)      return window.setTimeout(function() {	 predecessorChanged(form, suffix, isTaskForm, true); }, 1);   var te = getTaskElements(form, suffix);   var seqNum = te.seqNum.value, predecessor = te.dependants.value;   if (predecessor != "") {      var assoc = taskArray[predecessor];      var revert = function() { te.dependants.value = te.orig_dependant.value; return; }      if (predecessor < 1) { alert(errorMsgs.noPredecessor); return revert(); }      if (seqNum != "") {	 if (predecessor == seqNum) { alert(errorMsgs.samePredecessor); return revert(); }	 if (predecessor > seqNum) { alert(errorMsgs.previousPredecessor); return revert(); }      }      if (assoc["type"] != 'timed') { alert(errorMsgs.untimedPredecessor); return revert(); }   }   te.orig_dependant.value = te.dependants.value;   checkPredecessorCollision(te, isTaskForm);   updateTaskArray(te);   if (!isTaskForm) {      updateDependantDates();      paintGanttChart();   }}
meta: 1948	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1948/baed8b43b666fb6441630cf7f67d2324cd3d2e0f/projectDisplay.js/buggy/www/extras/wobject/ProjectManager/projectDisplay.js