rem: if( server ) args.server = server; 
add: if( calendar ) args.calendar = calendar; 
context: function openEventDialog(calendarEvent, mode, onOk, server){  // set up a bunch of args to pass to the dialog  var args = new Object();  args.calendarEvent = calendarEvent;  args.mode = mode;  args.onOk = onOk;  if( server )    args.server = server;  // wait cursor will revert to auto in eventDialog.js loadCalendarEventDialog  window.setCursor( "wait" );  // open the dialog modally  openDialog("chrome://calendar/content/eventDialog.xul", "caEditEvent", "chrome,titlebar,modal", args );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/abfbfbd23979db8b56a1c97b1f71fd1cedd854ca/calendar.js/buggy/calendar/resources/content/calendar.js