rem: calendarPublish(calendarString, CalendarPublishObject.url, CalendarPublishObject.remotePath, CalendarPublishObject.username, CalendarPublishObject.password, "text/calendar"); 
add: calendarPublish(calendarString, CalendarPublishObject.remotePath, CalendarPublishObject.username, CalendarPublishObject.password, "text/calendar"); 
context: function publishCalendarDataDialogResponse( CalendarPublishObject ){   var calendarString = eventArrayToICalString( gCalendarWindow.EventSelection.selectedEvents );      calendarPublish(calendarString, CalendarPublishObject.url, CalendarPublishObject.remotePath, CalendarPublishObject.username, CalendarPublishObject.password, "text/calendar");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3f6614f8d46f13170bbf77ea6db3cf1b9dd623b8/calendar.js/buggy/calendar/resources/content/calendar.js