More line ending fixes. no bug.
git-svn-id: svn://10.0.0.236/trunk@186121 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -86,7 +86,7 @@ function loadEventsFromFile()
|
||||
|
||||
fp.show();
|
||||
|
||||
if (fp.file && fp.file.path && fp.file.path.length > 0) {
|
||||
if (fp.file && fp.file.path && fp.file.path.length > 0) {
|
||||
var filePath = fp.file.path;
|
||||
var importer = Components.classes[contractids[fp.filterIndex]]
|
||||
.getService(Components.interfaces.calIImporter);
|
||||
|
||||
@@ -54,8 +54,8 @@ function QueryInterface(aIID) {
|
||||
calIcsImporter.prototype.getFileTypes =
|
||||
function getFileTypes(aCount) {
|
||||
aCount.value = 1;
|
||||
return([{defaultExtension:'ics',
|
||||
extensionFilter:'*.ics',
|
||||
return([{defaultExtension:'ics',
|
||||
extensionFilter:'*.ics',
|
||||
description:'iCalendar'}]);
|
||||
};
|
||||
|
||||
|
||||
@@ -55,8 +55,8 @@ function QueryInterface(aIID) {
|
||||
calOutlookCSVImporter.prototype.getFileTypes =
|
||||
function getFileTypes(aCount) {
|
||||
aCount.value = 1;
|
||||
return([{defaultExtension:'csv',
|
||||
extensionFilter:'*.csv',
|
||||
return([{defaultExtension:'csv',
|
||||
extensionFilter:'*.csv',
|
||||
description:'Comma Separated Values (from Outlook)'}]);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user