зеркало из https://github.com/mozilla/pjs.git
bug 337712 - Uses X-MOZ-LOCATION-PATH to construct the uri for deleting if available. r=ctalbert,dmose
This commit is contained in:
Родитель
613506b277
Коммит
c6ac9a52c5
|
@ -414,9 +414,16 @@ calDavCalendar.prototype = {
|
|||
return;
|
||||
}
|
||||
|
||||
// XXX how are we REALLY supposed to figure this out?
|
||||
var eventUri = this.mCalendarUri.clone();
|
||||
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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче