Side navigation
#5383 closed bug (fixed)
Opened October 15, 2009 02:50AM UTC
Closed November 19, 2010 09:56PM UTC
if jsonp not crossdomain, the complete handler will trigger twice
Reported by: | asfman | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.4.3 |
Component: | ajax | Version: | 1.4.2 |
Keywords: | ajax complete jsonp | Cc: | asfman@gmail.com |
Blocked by: | Blocking: |
Description
the first trigger in onreadystatechange
the second trigger in window[jsonp]
it can be solved the same as success handler:
if ( !jsonp )
success();
if ( !jsonp )
complete();
See test case in duplicate #4810.