Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#4863 closed bug (notabug)

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>

Change History (2)

comment:1 Changed 10 years ago by Scott González

Resolution: invalid
Status: newclosed

I don't understand this. Please provide more detail.

comment:2 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.