mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Bug 345593 - can not modify existing event, patch by Damian Szczepanik, r=jminta
This commit is contained in:
parent
65d73cc926
commit
7ab280b484
@ -1610,10 +1610,10 @@ calStorageCalendar.prototype = {
|
||||
var tmp;
|
||||
|
||||
tmp = item.getUnproxiedProperty("DTSTART");
|
||||
//if (tmp instanceof kCalIDateTime) {}
|
||||
//if (tmp instanceof Ci.calIDateTime) {}
|
||||
this.setDateParamHelper(ip, "event_start", tmp);
|
||||
tmp = item.getUnproxiedProperty("DTEND");
|
||||
//if (tmp instanceof kCalIDateTime) {}
|
||||
//if (tmp instanceof Ci.calIDateTime) {}
|
||||
this.setDateParamHelper(ip, "event_end", tmp);
|
||||
|
||||
if (item.startDate.isDate)
|
||||
@ -1710,7 +1710,7 @@ calStorageCalendar.prototype = {
|
||||
|
||||
pp.key = prop.name;
|
||||
var pval = prop.value;
|
||||
if (pval instanceof kCalIDateTime) {
|
||||
if (pval instanceof Ci.calIDateTime) {
|
||||
pp.value = pval.nativeTime;
|
||||
} else {
|
||||
pp.value = pval;
|
||||
|
Loading…
Reference in New Issue
Block a user