bug 351290 - Add missing description field to export. r1=ssitter, r2=dmose

git-svn-id: svn://10.0.0.236/trunk@209238 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mattwillis%gmail.com 2006-09-06 01:20:37 +00:00
parent aa2e66a816
commit 52d8b0efb9

View File

@ -431,7 +431,6 @@ function csv_exportToStream(aStream, aCount, aItems) {
headers.push(localeEn['headDescription']);
headers.push(localeEn['headLocation']);
headers.push(localeEn['headPrivate']);
headers.push(localeEn['headAlarmTime']);
str = headers.map(function(v) {return '"'+v+'"';}).join(',')+"\n"
aStream.write(str, str.length);
@ -447,6 +446,7 @@ function csv_exportToStream(aStream, aCount, aItems) {
line.push(""); //XXX add alarm support
line.push(""); //XXX add alarm support
line.push(item.getProperty("CATEGORIES"));
line.push(item.getProperty("DESCRIPTION"));
line.push(item.getProperty("LOCATION"));
line.push((item.privacy=="PRIVATE") ? localeEn.valueTrue : localeEn.valueFalse);