rem: alert("Modification is not implemented"); return false; 
add: for(var p = XRai.firstOldPassage; p; p = p.next) p.unvalidate(); 
context: XRai.switchToAssess = function() {   try {      // (1) Invalidate      if (XRai.firstOldPassage) {         alert("Modification is not implemented");         return false;      }      // (2) Add passages      XRai.passagesToAssess = 0;      for(var p = XRai.firstPassage; p; p = p.next)         if (!p.validated) p.validate();      docStatus = 1;      XRai.updateSaveIcon();   } catch(error) {      alert("An error occured during the switch. Please report the bug and STOP your assessments");      window.dump("ERROR: " + XRai.getError(error) + "\n");      throw error;   }   return true;}
meta: 8632	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8632/118a48a7c56edb8af49d2c17b204d65bb2149adb/article.js/clean/trunk/js/article.js