rem: 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: 
add: var SelectedCalendarId = this.getSelectedCalendarId();  var SelectedCalendar = this.rdf.getNode( SelectedCalendarId ); ThisCalendarObject.Id = SelectedCalendarId;  ThisCalendarObject.name = SelectedCalendar.getAttribute( "http: ThisCalendarObject.path = SelectedCalendar.getAttribute( "http: ThisCalendarObject.active = SelectedCalendar.getAttribute( "http: ThisCalendarObject.remote = SelectedCalendar.getAttribute( "http: ThisCalendarObject.remotePath = SelectedCalendar.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 = new CalendarObject();   var TempCalendar = this.getSelectedCalendar();   ThisCalendarObject.name = TempCalendar.getAttribute( "http://home.netscape.com/NC-rdf#name" );   ThisCalendarObject.path = TempCalendar.getAttribute( "http://home.netscape.com/NC-rdf#path" );   ThisCalendarObject.active = TempCalendar.getAttribute( "http://home.netscape.com/NC-rdf#active" );   ThisCalendarObject.remote = TempCalendar.getAttribute( "http://home.netscape.com/NC-rdf#remote" );   ThisCalendarObject.remotePath = TempCalendar.getAttribute( "http://home.netscape.com/NC-rdf#remotePath" );      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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/bdbe25994aa0abc58ca7d561f9f21a9f2c5c633a/calendarManager.js/buggy/calendar/resources/content/calendarManager.js