mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
Fix item parentage plus other minor tweaks
This commit is contained in:
parent
a7be172733
commit
a70c85bb4c
@ -130,7 +130,7 @@ calDavCalendar.prototype = {
|
||||
|
||||
// attribute nsIURI uri;
|
||||
mUri: null,
|
||||
get uri() { return this.mUri },
|
||||
get uri() { return this.mUri; },
|
||||
set uri(aUri) { this.mUri = aUri; },
|
||||
|
||||
// attribute boolean suppressAlarms;
|
||||
@ -458,6 +458,7 @@ calDavCalendar.prototype = {
|
||||
dump ("ITEM RESULT: " + responseElement..C::["calendar-query-result"] + "\n");
|
||||
item.icalString =
|
||||
responseElement..C::["calendar-query-result"];
|
||||
item.parent = this;
|
||||
|
||||
// save the location name in case we need to modify
|
||||
item.setProperty("locationURI", aResource.spec);
|
||||
@ -480,7 +481,6 @@ calDavCalendar.prototype = {
|
||||
rv = Components.results.NS_OK;
|
||||
items = [ item ];
|
||||
} else if (item.QueryInterface(calITodo)) {
|
||||
dump ("QI to TODO succeeded\n");
|
||||
iid = calITodo;
|
||||
rv = Components.results.NS_OK;
|
||||
items = [ item ];
|
||||
|
Loading…
Reference in New Issue
Block a user