Comments by Tom Parker on scripts

1 comment

Comment on:
Gmail Google Calendar sidebar

Oct 26, 2007

Replacing line 393
if(whoNodes[whoI].getElements("gd:attendeeStatus")[0].getAttribute('value').match(/.declined/)
with
if (whoNodes[whoI].getElements("gd:attendeeStatus").length!=0 && whoNodes[whoI].getElements("gd:attendeeStatus")[0].getAttribute('value').match(/.declined/)

fixes the loading problem

(i.e. adding "whoNodes[whoI].getElements("gd:attendeeStatus").length!=0" test to the beginning)