Changeset 3010

Show
Ignore:
Timestamp:
10/12/10 16:06:14
Author:
johnsa
Message:

user client: fix javascript bug in autocomplete code for scheduling

Files:

Legend:

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

    r3004 r3010  
    10881088          // call the server and push the results into an array "items" 
    10891089          $.getJSON(addrBookUrl, req, function(data) { 
    1090             var acResults
    1091             if (data.microformats != undefined && data.microformats.vcard != undefined) { 
     1090            var acResults = ""
     1091            if (data != undefined && data.microformats != undefined && data.microformats.vcard != undefined) { 
    10921092              acResults = data.microformats.vcard; 
    10931093            }