[Vtigercrm-developers] Thunderbird Extension
Alan Lord (News)
alanslists at gmail.com
Tue Nov 17 04:12:30 PST 2009
There seems to be a problem in this part of the code (importab.js)
client.query("select * from Contacts;",
handleError(function(contactResult){
try {
if(contactResult.length != 0){
var itemLength = contactResult.length;
// alertMessage(itemLength); Seems OK - Get "36" Back.
var accountIds = [];
for(var i = 0; i < itemLength; i++){
var accountId = contactResult[i]['account_id'];
//alertMessage(accountId); Is this OK? All accountId start with "3x"
if(accountId!=null){
accountIds[accountIds.length] = accountId;
//alertMessage(accountIds[accountIds.length]); This is returning 36
nulls...
}
}
So I guess my question is this I guess.
Should the accountId that are returned *all* begin with '3x' 9even the
empty ones) and if not, where is that coming from?
TIA
Alan
More information about the vtigercrm-developers
mailing list