Changeset 2968

Show
Ignore:
Timestamp:
08/06/10 02:06:01
Author:
johnsa
Message:

user client: more data checking while building autocomplete suggestions for attendees

Files:

Legend:

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

    r2967 r2968  
    10721072          // call the server and format the results into an array "items" 
    10731073          $.getJSON(addrBookUrl, req, function(data) { 
    1074             var acResults = data.microformats.vcard; 
     1074            var acResults; 
     1075            if (data.microformats != undefined && data.microformats.vcard != undefined) { 
     1076              acResults = data.microformats.vcard; 
     1077            } 
    10751078            var items = []; 
    10761079            $.each(acResults, function(i,entry) {