Added a fix to prevent the completion callback from firing multiple times in Firefox on OSX (fixed bug #1406).
This commit is contained in:
parent
c47f6f8f52
commit
f83211c684
1 changed files with 1 additions and 1 deletions
|
@ -622,7 +622,7 @@ jQuery.extend({
|
||||||
// Wait for a response to come back
|
// Wait for a response to come back
|
||||||
var onreadystatechange = function(isTimeout){
|
var onreadystatechange = function(isTimeout){
|
||||||
// The transfer is complete and the data is available, or the request timed out
|
// The transfer is complete and the data is available, or the request timed out
|
||||||
if ( xml && (xml.readyState == 4 || isTimeout == "timeout") ) {
|
if ( !requestDone && xml && (xml.readyState == 4 || isTimeout == "timeout") ) {
|
||||||
requestDone = true;
|
requestDone = true;
|
||||||
|
|
||||||
// clear poll interval
|
// clear poll interval
|
||||||
|
|
Loading…
Reference in a new issue