зеркало из https://github.com/mozilla/gecko-dev.git
Fixing deleting remote calendars that I just broke.
This commit is contained in:
Родитель
bdbe25994a
Коммит
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 );
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче