rem: if(forms[i].className.indexOf('JSnocheck') == -1){ forms[i].onsubmit = function(){return changeCheck(msg);}; } 
add: if(forms[i].className.indexOf('JSnocheck') == -1){ forms[i].onsubmit = function(){return changeCheck(msg);}; } 
context: function initChangeCheck(msg){		if(!document.getElementById){ return false; }		// add change check for links		var links = document.getElementsByTagName('a');		for(var i=0; i < links.length; i++){				if(links[i].className.indexOf('JSnocheck') == -1){						links[i].onclick = function(){return changeCheck(msg);};						links[i].onkeypress = function(){return changeCheck(msg);};				}		}		// add change check for forms    var forms = document.forms;    for(i=0; i < forms.length; i++){				if(forms[i].className.indexOf('JSnocheck') == -1){		        forms[i].onsubmit = function(){return changeCheck(msg);};				}    }		// reset change memory var on submit		var btn_save        = document.getElementById('edbtn_save');		btn_save.onclick    = function(){ textChanged = false; };		btn_save.onkeypress = function(){ textChanged = false; };		var btn_prev        = document.getElementById('edbtn_preview');		btn_prev.onclick    = function(){ textChanged = false; };		btn_prev.onkeypress = function(){ textChanged = false; };		// add change memory setter		var edit_text   = document.getElementById('wikitext');		edit_text.onchange = function(){				textChanged = true; //global var				summaryCheck();		};		edit_text.onkeyup  = summaryCheck;		var summary = document.getElementById('summary');		summary.onchange = summaryCheck;		summary.onkeyup  = summaryCheck;		// set focus		edit_text.focus();}
meta: 4676	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4676/92715eba0068ce128d245c7ed80b86773ebf2d84/edit.js/buggy/lib/scripts/edit.js