mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-08 14:03:49 +00:00
More line ending fixes. no bug.
This commit is contained in:
parent
db00345d74
commit
12692a312d
@ -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)'}]);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user