mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
merge from dev
This commit is contained in:
parent
d96250df7f
commit
bcfee41a57
318 changed files with 54424 additions and 6419 deletions
16
dashboard-ui/bower_components/jquery/test/data/event/focusElem.html
vendored
Normal file
16
dashboard-ui/bower_components/jquery/test/data/event/focusElem.html
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
||||
<title>.focus() (activeElement access #13393)</title>
|
||||
|
||||
<script src="../../jquery.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<a href="#" id="frame-link"></a>
|
||||
<script>
|
||||
jQuery( "#frame-link" ).trigger( "focus" );
|
||||
window.parent.iframeCallback( true );
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
18
dashboard-ui/bower_components/jquery/test/data/event/focusinCrossFrame.html
vendored
Normal file
18
dashboard-ui/bower_components/jquery/test/data/event/focusinCrossFrame.html
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
||||
<title>focusin event cross-frame (#14180)</title>
|
||||
|
||||
<script src="../../jquery.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<input type="text" id="frame-input" />
|
||||
<script>
|
||||
// Call parent when this frame is fully loaded, it will mess with #frame-input
|
||||
jQuery( window ).one( "load", function() {
|
||||
window.parent.iframeCallback( document );
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
23
dashboard-ui/bower_components/jquery/test/data/event/interactiveReady.html
vendored
Normal file
23
dashboard-ui/bower_components/jquery/test/data/event/interactiveReady.html
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>Test case for gh-2100</title>
|
||||
<script src="../../jquery.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery( document ).ready(function () {
|
||||
window.parent.iframeCallback( jQuery("#container").length === 1 );
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- external resources that come before elements trick
|
||||
oldIE into thinking the dom is ready, but it's not...
|
||||
leaving this check here for future trailblazers to attempt
|
||||
fixing this...-->
|
||||
<script type="text/javascript" src="../longLoadScript.php?sleep=1"></script>
|
||||
<div id="container" style="height: 300px"></div>
|
||||
</body>
|
||||
</html>
|
4
dashboard-ui/bower_components/jquery/test/data/event/longLoadScript.php
vendored
Normal file
4
dashboard-ui/bower_components/jquery/test/data/event/longLoadScript.php
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?php
|
||||
sleep((int)$_GET['sleep']);
|
||||
header('Content-type: text/javascript');
|
||||
?>
|
20
dashboard-ui/bower_components/jquery/test/data/event/onbeforeunload.html
vendored
Normal file
20
dashboard-ui/bower_components/jquery/test/data/event/onbeforeunload.html
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<script src="../../jquery.js"></script>
|
||||
<script>
|
||||
function report( event ) {
|
||||
var payload = {
|
||||
event: event.type
|
||||
};
|
||||
return parent.postMessage( JSON.stringify(payload), "*" );
|
||||
}
|
||||
|
||||
jQuery( window ).on( "beforeunload", function( event ) {
|
||||
report( event );
|
||||
}).on( "load", function( event ) {
|
||||
setTimeout(function() {
|
||||
window.location.reload();
|
||||
}, 50);
|
||||
});
|
||||
</script>
|
||||
</html>
|
17
dashboard-ui/bower_components/jquery/test/data/event/promiseReady.html
vendored
Normal file
17
dashboard-ui/bower_components/jquery/test/data/event/promiseReady.html
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>Test case for jQuery ticket #11470</title>
|
||||
<script src="../../jquery.js"></script>
|
||||
<script type="text/javascript">
|
||||
jQuery.when( jQuery.ready ).done(function() {
|
||||
jQuery("body").append("<div>modifying DOM</div>");
|
||||
window.parent.iframeCallback( $("div").text() === "modifying DOM" );
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- empty body -->
|
||||
</body>
|
||||
</html>
|
23
dashboard-ui/bower_components/jquery/test/data/event/syncReady.html
vendored
Normal file
23
dashboard-ui/bower_components/jquery/test/data/event/syncReady.html
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>Test case for jQuery ticket #10067</title>
|
||||
<script src="../../jquery.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery( document ).ready(function () {
|
||||
window.parent.iframeCallback( jQuery('#container').length === 1 );
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- external resources that come before elements trick
|
||||
oldIE into thinking the dom is ready, but it's not...
|
||||
leaving this check here for future trailblazers to attempt
|
||||
fixing this...-->
|
||||
<script type="text/javascript" src="longLoadScript.php?sleep=1"></script>
|
||||
<div id="container" style="height: 300px"></div>
|
||||
</body>
|
||||
</html>
|
18
dashboard-ui/bower_components/jquery/test/data/event/triggerunload.html
vendored
Normal file
18
dashboard-ui/bower_components/jquery/test/data/event/triggerunload.html
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<script src="../../jquery.js"></script>
|
||||
<script>
|
||||
var called = false,
|
||||
error = false;
|
||||
|
||||
window.onerror = function() { error = true; };
|
||||
|
||||
jQuery( window ).on( "beforeunload", function( event ) {
|
||||
called = true;
|
||||
return "maybe";
|
||||
}).on( "load", function( event ) {
|
||||
$( window ).triggerHandler( "beforeunload" );
|
||||
window.parent.iframeCallback( called && !error );
|
||||
});
|
||||
</script>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue