[Koha-bugs] [Bug 22272] Calendar: When entering date ranges grey out dates in the past from the start date

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 11 09:02:33 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22272

Emmi Takkinen <emmi.takkinen at outlook.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|koha-bugs at lists.koha-commun |emmi.takkinen at outlook.com
                   |ity.org                     |

--- Comment #5 from Emmi Takkinen <emmi.takkinen at outlook.com> ---
Created attachment 91456
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91456&action=edit
Bug 22272 - Calendar: When entering date ranges grey out dates in the past from
the start date

In "Calendar" tool it's possible to pick dates before start
date as end date.

This patch sets end date calendars "minDate" as picked start day
to grey out past dates. Also reindents datepicker code for
better readability.

Test plan:
- Apply this patch
- Set start date from first calendar
- Set end date from second calendar
=> Dates before start date are greyed out

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list