Bug 333033 Use same PRODID for created and exported ics data, patch by ssitter, r=jminta
git-svn-id: svn://10.0.0.236/trunk@193768 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -156,7 +156,7 @@ function ics_exportToStream(aStream, aCount, aItems) {
|
||||
.getService(Components.interfaces.calIICSService);
|
||||
var calComp = icssrv.createIcalComponent("VCALENDAR");
|
||||
calComp.version = "2.0";
|
||||
calComp.prodid = "-//Mozilla.org/NONSGML Mozilla Calendar V1.0//EN";
|
||||
calComp.prodid = "-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN";
|
||||
|
||||
for each (item in aItems) {
|
||||
calComp.addSubcomponent(item.icalComponent);
|
||||
|
||||
@@ -125,7 +125,7 @@ function copyToClipboard( calendarItemArray )
|
||||
.getService(Components.interfaces.calIICSService);
|
||||
var calComp = icssrv.createIcalComponent("VCALENDAR");
|
||||
calComp.version = "2.0";
|
||||
calComp.prodid = "-//Mozilla.org/NONSGML Mozilla Calendar V1.0//EN";
|
||||
calComp.prodid = "-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN";
|
||||
|
||||
for each (item in calendarItemArray) {
|
||||
// If we copy an item and paste it again, it will have the same ID as
|
||||
|
||||
Reference in New Issue
Block a user