Fix broken JS.

This commit is contained in:
tjhunt
2007-01-18 12:55:46 +00:00
parent 5be5bc9fc8
commit bb006c95cc
+1 -1
View File
@@ -139,7 +139,7 @@ function submitFormById(id) {
if(!theform) {
return false;
}
if(theform.tagName != 'form') {
if(theform.tagName.toLowerCase() != 'form') {
return false;
}
if(!theform.onsubmit || theform.onsubmit()) {