bug 337712 - Uses X-MOZ-LOCATION-PATH to construct the uri for deleting if available. r=ctalbert,dmose
git-svn-id: svn://10.0.0.236/trunk@212739 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
7f8db8993d
commit
4776a60e76
@ -414,9 +414,16 @@ calDavCalendar.prototype = {
|
||||
return;
|
||||
}
|
||||
|
||||
// XXX how are we REALLY supposed to figure this out?
|
||||
var eventUri = this.mCalendarUri.clone();
|
||||
eventUri.spec = eventUri.spec + aItem.id + ".ics";
|
||||
try {
|
||||
eventUri.spec = this.mCalendarUri.spec +
|
||||
aItem.getProperty("X-MOZ-LOCATIONPATH");
|
||||
LOG("using X-MOZ-LOCATIONPATH: " + eventUri.spec);
|
||||
} catch (ex) {
|
||||
// XXX how are we REALLY supposed to figure this out?
|
||||
eventUri.spec = eventUri.spec + aItem.id + ".ics";
|
||||
}
|
||||
|
||||
var eventResource = new WebDavResource(eventUri);
|
||||
|
||||
var listener = new WebDavListener();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user