Fixing deleting remote calendars that I just broke.

This commit is contained in:
mikep%oeone.com 2002-11-21 19:18:36 +00:00
parent bdbe25994a
commit 5f4c2c66ac
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ h1 {
<td id="mozver">
<h1>
<a id="mozlink" href="http://www.mozilla.org/projects/calendar/" target="_new">Mozilla Calendar 2002112110-cal</a>
<a id="mozlink" href="http://www.mozilla.org/projects/calendar/" target="_new">Mozilla Calendar 2002112114-cal</a>
</h1>
<script type="application/x-javascript">
// using try..catch to handle empty useragents and other cases where the regex fails to apply

View File

@ -695,8 +695,8 @@ function switchCalendar( event )
function deleteCalendar( )
{
var IdToDelete = gCalendarWindow.calendarManager.getSelectedCalendarId()
var calendarObjectToDelete = this.rdf.getNode( IdToDelete );
var calendarObjectToDelete = gCalendarWindow.calendarManager.rdf.getNode( IdToDelete );
gCalendarWindow.calendarManager.deleteCalendar( calendarObjectToDelete );