Provide feedback on resource availability as soon as it's added to the attendees...
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 17 Sep 2009 00:32:21 +0000 (20:32 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 29 Sep 2009 20:53:55 +0000 (16:53 -0400)
commit4215f05a7283992ea4c2fb83b6733a4c4e06c674
tree7daf8cb571386ca19ba434c6ac961bc10ca4ce9b
parente67e38855a2eeeeea3a4e55387f76f41746386eb
Provide feedback on resource availability as soon as it's added to the attendees form.

If response type is Kronolith_Resource::RESPONSETYPE_AUTO then use the start and end datetime
values that are now passed from the event form to determine if the resource is free.

Still need to figure out how to (efficiently) pass the datetime values to take into account
AM/PM. Probably break out the javascript from the onClick handler into it's function and
provide logic to check the am/pm fields? Is there an easier/prettier way?
kronolith/attendees.php
kronolith/lib/Resource/Single.php
kronolith/templates/attendees/attendees.inc
kronolith/templates/edit/edit.inc