malsup/form — Issue #171: A fix for older browsers
Author: prsephton
Created: 2012-02-27 14:11:57+00:00
State: open

In short: firefox 3.0.6 + jquery 1.7.1 don't understand getDoc(io).readyState. Almost certainly browser related.

So, checkState() always ends up in a server abort (throws type error). The following fixes the problem:

// look for server aborts
function checkState() {
try {
var state = getDoc(io).readyState;
if (state) {
log('state = ' + state);
if (state.toLowerCase() == 'uninitialized')
setTimeout(checkState,50);
}
}
catch(e) {
...
}
}

Great plugin. Thanks!