mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Datepicker: Added visual test for #5676 - DatePicker Dialog defaultDate incorrect behaviour
This commit is contained in:
parent
4c3899cd35
commit
5074bf38d3
30
tests/visual/datepicker/datepicker_ticket_5676.html
Normal file
30
tests/visual/datepicker/datepicker_ticket_5676.html
Normal file
@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Datepicker Visual Test : Datepicker ticket #5676</title>
|
||||
<link href="../visual.css" type="text/css" rel="stylesheet" />
|
||||
<link href="../../../themes/base/jquery.ui.all.css" type="text/css" rel="stylesheet">
|
||||
<script src="../../../jquery-1.4.2.js"></script>
|
||||
<script src="../../../ui/jquery.ui.core.js"></script>
|
||||
<script src="../../../ui/jquery.ui.widget.js"></script>
|
||||
<script src="../../../ui/jquery.ui.datepicker.js"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
|
||||
$('.datepicker').datepicker({
|
||||
defaultDate: +7
|
||||
}).focus();
|
||||
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/5676">#5676 - DatePicker Dialog defaultDate incorrect behaviour</a></h1>
|
||||
|
||||
<div class="datepicker"></div>
|
||||
<input class="datepicker" />
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user