mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Fixing deleting remote calendars that I just broke.
This commit is contained in:
parent
bdbe25994a
commit
5f4c2c66ac
@ -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
|
||||
|
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user