mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
This commit is contained in:
11
src/ajax.js
11
src/ajax.js
@@ -624,12 +624,17 @@ jQuery.extend({
|
||||
}
|
||||
}
|
||||
|
||||
// If not modified
|
||||
if ( status === 304 ) {
|
||||
// if no content
|
||||
if ( status === 204 ) {
|
||||
isSuccess = true;
|
||||
statusText = "nocontent";
|
||||
|
||||
// if not modified
|
||||
} else if ( status === 304 ) {
|
||||
isSuccess = true;
|
||||
statusText = "notmodified";
|
||||
|
||||
// If we have data
|
||||
// If we have data, let's convert it
|
||||
} else {
|
||||
isSuccess = ajaxConvert( s, response );
|
||||
statusText = isSuccess.state;
|
||||
|
||||
Reference in New Issue
Block a user