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:54:01 +0000 (16:54 -0400)
commit133abb38427456f0ef2c8b9868e37e80936c416b
tree5f7dd59f2f0e20c2269c46f30305d62fac518901
parenta20266f77fb04be73ca7c81344139395910ed337
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/lib/Resource/Single.php