add:  inputs = f.getElementsByTagName('input'); for (i=0; i<inputs.length; i++) { if (inputs[i].name == 'submit') { SQ_FORM_ERROR_CONTAINED = true; } }  
context: function submit_form(f){	if (f == null) { f = document.main_form; }	// make sure we clean any stuff up before we submit	if (!f.onsubmit || f.onsubmit()) {		f.submit();	}}//end submit_form()
meta: 5635	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5635/6724a890777ba5ba942fbe327a92e770cb3ff3cc/html_form.js/buggy/core/lib/html_form/html_form.js