mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
95e34b6955
This is a version of gh-4993 for the `3.x-stable` branch.
The GitHub UI treats `#NUMBER` as referring to its own issues which is confusing
when in jQuery source it's usually referring to the old deprecated Trac instance
at https://bugs.jquery.com. This change replaces all such Trac references with
`trac-NUMBER`.
A few of the references came with the Sizzle integration and referred to the
Sizzle GitHub bug tracker. Those have been replaced with full links instead.
A new entry describing issue reference conventions has been added to README.
Closes gh-4994
Ref gh-4993
Ref 5d5ea01511
32 lines
703 B
HTML
32 lines
703 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
|
|
<title>onunload ajax requests (trac-14379)</title>
|
|
<script src="../../jquery.js"></script>
|
|
<script src="../iframeTest.js"></script>
|
|
</head>
|
|
<body>
|
|
<form id="navigate" action="../iframe.html"></form>
|
|
<script>
|
|
jQuery( window ).on( "unload", function() {
|
|
var ajaxStatus;
|
|
jQuery.ajax({
|
|
url: "../name.html",
|
|
async: false,
|
|
complete: function( xhr, status ) {
|
|
ajaxStatus = status;
|
|
}
|
|
});
|
|
startIframeTest( ajaxStatus );
|
|
});
|
|
|
|
jQuery(function() {
|
|
setTimeout(function() {
|
|
document.getElementById( "navigate" ).submit();
|
|
}, 0 );
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|