mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
Changing function name that gets called if URL is passed to calendar.
This commit is contained in:
parent
7b8a079235
commit
fa93ee7361
@ -156,11 +156,7 @@ function calendarInit()
|
||||
|
||||
if( window.arguments && window.arguments[0].url )
|
||||
{
|
||||
var arrayForNames = window.arguments[0].url.split( "/" );
|
||||
var CalendarNameWithExtension = arrayForNames[ arrayForNames.length - 1 ];
|
||||
var CalendarName = CalendarNameWithExtension.replace( ".ics", "" );
|
||||
|
||||
gCalendarWindow.calendarManager.launchAddCalendarDialog( CalendarName, window.arguments[0].url );
|
||||
gCalendarWindow.calendarManager.checkCalendarURL( window.arguments[0].url );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user