It is also necessary to change forms_onsubmit in forms-lib.js to
remove setting the forms_onsubmithandlers to null.

Any suggestions about this? It seems that it's import to know when the
form is finally submitted vs when it is being ajax submitted. Is this
correct?

function forms_onsubmit() {
    if (forms_onsubmitHandlers == null) {
        // Form already submited, but the new page is not yet loaded.
This can happen when
        // the focus is in an input with an "onchange" and the user
clicks on a submit button.
        return false;
    }

...

    // clear it
//    forms_onsubmitHandlers = null; // commented this out

Reply via email to