rem: var ThisCalendarObject = this.getSelectedCalendar(); 
add: var ThisCalendarObject = new CalendarObject();  var TempCalendar = this.getSelectedCalendar(); ThisCalendarObject.name = TempCalendar.getAttribute( "http: ThisCalendarObject.path = TempCalendar.getAttribute( "http: ThisCalendarObject.active = TempCalendar.getAttribute( "http: ThisCalendarObject.remote = TempCalendar.getAttribute( "http: ThisCalendarObject.remotePath = TempCalendar.getAttribute( "http: 
context: calendarManager.prototype.launchEditCalendarDialog = function calMan_launchEditCalendarDialog( ){   //get the currently selected calendar   // set up a bunch of args to pass to the dialog   var ThisCalendarObject = this.getSelectedCalendar();      var args = new Object();   args.mode = "edit";   var thisManager = this;   var callback = function( ThisCalendarObject ) { thisManager.editServerDialogResponse( ThisCalendarObject ) };   args.onOk =  callback;   args.CalendarObject = ThisCalendarObject;   // open the dialog modally   openDialog("chrome://calendar/content/calendarServerDialog.xul", "caEditServer", "chrome,modal", args );}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarManager.js/buggy/calendar/resources/content/calendarManager.js