Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Datepicker: show inline datepicker setting explicit display:block ins…
…tead of using .show() in case it is disconnected. Fixed #7552 - A Datepicker created on a detached div has zero height (cherry picked from commit b8af0d1)
- Loading branch information
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>Datepicker Visual Test : Datepicker ticket #7552</title> | ||
<link rel="stylesheet" href="../visual.css" type="text/css" /> | ||
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css"> | ||
<script type="text/javascript" src="../../../jquery-1.5.1.js"></script> | ||
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script> | ||
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script> | ||
<script type="text/javascript" src="../../../ui/jquery.ui.datepicker.js"></script> | ||
<script type="text/javascript"> | ||
$(function() { | ||
$('<div></div>').datepicker().appendTo("body"); | ||
}); | ||
</script> | ||
</head> | ||
<body> | ||
|
||
<h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/7552">#7552 - A Datepicker created on a detached div has zero height</a></h1> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters