[Tickets #10347] Re: free / busy does not work in dynamic
bugs at horde.org
bugs at horde.org
Wed Jul 20 19:31:43 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10347
------------------------------------------------------------------------------
Ticket | 10347
Updated By | adominguez at cne.gob.ve
Summary | free / busy does not work in dynamic
Queue | Kronolith
Version | 3.0.5
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
+New Attachment | kronolith.js
------------------------------------------------------------------------------
adominguez at cne.gob.ve (2011-07-20 19:31) wrote:
I found the problem, that is on file ?horde/kronolith/js/kronolith.js?
and is related with the way to find the ?free/busy scheduling?
response, because is index using the users description (?Name
<email at doman.com>?) and them when the information is needed, is
looking using the users mail ?email at doman.com? so it nerver will be
find.
So we have to change the line 5442 from:
this.insertFreeBusy(attendee.e);
To:
this.insertFreeBusy(attendee.l);
And the script will be ?almost? working, the olny problem now is that
?always? appear as ?free? not matter if the user have a full day. It's
because the div's ?height? isn't set, so is too think that it can't be
seen. For that problem we have to change the line 5517 (is not the
exact line because I change the file but y very close to that number)
from:
div = new Element('div').setStyle({ position: 'relative' });
To:
div = new Element('div').setStyle({ position: 'relative', height:
(td.offsetHeight - 3) + 'px' });
And now we can enjoy from a fully complete ?free/busy scheduling?,
rest only a few problem when the user have not busy day at all, so the
response is empty and the script fail because it, so the complete
change is from:
div = new Element('div').setStyle({ position: 'relative' });
td.insert(div);
To:
div = new Element('div').setStyle({ position: 'relative', height:
(td.offsetHeight - 3) + 'px' });
td.insert(div);
// Now verify that we got the correct occupation information for the user
if (fb.b.constructor != Object)
{return;}
That's all.
I attach the file with the changes
More information about the bugs
mailing list