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

Owen Leonard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #2 from Owen Leonard <[email protected]> ---
I wish I understood why this bug exists! Looking at the code I don't understand
what we're doing wrong.

However, seeing the change made in calendar.inc gives me the idea that we might
apply a fix which is more generalized:

We could use the jQueryUI datepicker's "option" method to apply a special
configuration if the date field has a particular class:

    $(".futuredate").datepicker("option", { minDate: 1 });

Then we modify the suspend_until fields:

<input type="text" size="10" id="suspend_until" name="suspend_until"
class="datepicker futuredate"/>

I would prefer this to adding code to calendar.inc which targets a specific ID.
What do you think?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to