Search and Top Navigation
#4863 closed bug (notabug)
Opened September 17, 2009 07:26AM UTC
Closed November 13, 2009 07:03PM UTC
Last modified October 11, 2012 09:15PM UTC
Datepicker
| Reported by: | pgoovaerts | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | ui.core | Version: | 1.7.2 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
Hi,
I want to 'display only' a 3-month calendar with no selectable dates but encounter the following problem (imho bug):
When displaying multiple-month calendar and specifying 'showCurrentAtPos: 1', the calendar ends up with non selectable calendar when clicking current date 3x.
Same happens when minDate and maxDate is used ('-3m' and '+3m') with extra clicks.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link type="text/css" href="http://jqueryui.com/latest/themes/base/ui.all.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" media="screen" href="newscreen.css">
<script type="text/javascript" src="http://jqueryui.com/latest/jquery-1.3.2.js"></script>
<script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.core.js"></script>
<script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.datepicker.js"></script>
<script type="text/javascript" src="jquery.datePickerMultiMonth.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#datepicker").datepicker({
dateFormat: 'dd.mm.yy',
minDate: 0,
maxDate: 0,
showOtherMonths: true,
numberOfMonths: [1, 3],
hideIfNoPrevNext: true,
showCurrentAtPos: 1,
showStatus: true
});
});
</script>
</head>
<body>
<div type="text" id="datepicker"></div>
</body>
</html>
I don't understand this. Please provide more detail.