rem:  if (! editedtests[0]) { MM_findObj("Submit").value = "Submit Results"; } 
add:  document.getElementById("show_test_form").action = "process_test.cgi"; 
context: function cancelEdit(testid) {    for (var i=0; i<fields.length; i++) {        hide(getField(fields[i]+"_edit",testid));        show(getField(fields[i]+"_text",testid));    }        show(getField("editlink", testid));    hide(getField("canceleditlink", testid));        // remove testid from the editedtests array:    var newarray = new Array();    for (var i=0; i<editedtests.length; i++) {        if (editedtests[i] != testid) {            newarray.push(testid);            }    }    editedtests=newarray;        if (! editedtests[0]) {        MM_findObj("Submit").value = "Submit Results";    }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/3de084e41be7ead24af5fa08883543a5cfe95e11/EditTests.js/buggy/webtools/litmus/js/EditTests.js