Changeset 2906

Show
Ignore:
Timestamp:
05/19/10 23:17:16
Author:
johnsa
Message:

user client: work on scheduling interface

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/javascript/bedeworkScheduling.js

    r2905 r2906  
    283283        var r = fb.microformats["schedule-response"][i]; // reference the current response 
    284284         
    285         // find the attendee and pass in the freebusy object if the attendee has any 
    286         for (var j=0; j < bwGrid.attendees.length; j++) { 
    287           if (bwGrid.attendees[j].uid == r["calendar-data"].attendee[0].value.substr(r["calendar-data"].attendee[0].value.lastIndexOf(":") + 1)) { 
    288             if (r["calendar-data"].freebusy) { 
     285        if (r["calendar-data"].freebusy) { 
     286          // find the attendee and pass in the freebusy object if the attendee has any 
     287          for (var j=0; j < bwGrid.attendees.length; j++) { 
     288            if (bwGrid.attendees[j].uid == r["calendar-data"].attendee[0].value.substr(r["calendar-data"].attendee[0].value.lastIndexOf(":") + 1)) { 
    289289              bwGrid.attendees[j].updateFreeBusy(r["calendar-data"].freebusy); 
    290290            }