mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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
@ -622,7 +622,7 @@ jQuery.extend({
|
||||
// Wait for a response to come back
|
||||
var onreadystatechange = function(isTimeout){
|
||||
// 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;
|
||||
|
||||
// clear poll interval
|
||||
|
Loading…
Reference in New Issue
Block a user