Skip to content

Commit 797fe6b

Browse files
committed
For $.ajax statusCode, a 3xx takes error args. Close jquerygh-70.
1 parent 707583f commit 797fe6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entries/jQuery.ajax.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
}
119119
}
120120
});</code></pre>
121-
<p>If the request is successful, the status code functions take the same parameters as the success callback; if it results in an error, they take the same parameters as the <code>error</code> callback.</p>
121+
<p>If the request is successful, the status code functions take the same parameters as the success callback; if it results in an error (including 3xx redirect), they take the same parameters as the <code>error</code> callback.</p>
122122
</desc>
123123
</property>
124124
<property name="success" type="Function">

0 commit comments

Comments
 (0)