With submitOnBlur, we default to not doing an automatic submission during a blur for text type elements. The logic is that, if nothing is changed, then blur shouldn't trigger a submission. There are a couple of issues with this:
1) Right now, setting submitOnBlur=true appears to do nothing. It seems that the registration of the event:
f.addEventListener('blur', submitForm, false);
actually needs to be:
f.addEventListener('blur', submitForm, true);
Note the 3rd parameter changes from true to false. This is for indicating that you want that event to "useCapture". By switching it to true, I now see the blur event running in the relevant code block.
2) Now that blur is actually activated, both change and blur will now cause submits when submitOnBlur=true unless we add more logic to deal with that.
3) Since IE 7/8 is relying on focusout for certain use cases to do the submit, the submitOnBlur setting doesn't make much sense as turning it off would mean that nothing gets submitted. So we what we do is use the focusout event to check if anything is changed but only when submitOnBlur=false. When submitOnBlur=true, don't check for changes, just submit.
Attached test case that shows the issue.
Steps: