rem: openDialog("chrome: 
add: openDialog("chrome: 
context: function editNewEvent( calendarEvent, server ){   // set up a bunch of args to pass to the dialog   var args = new Object();   args.mode = "new";   args.onOk =  self.addEventDialogResponse;   args.calendarEvent = calendarEvent;      if( server )      args.server = server;   window.setCursor( "wait" );   // open the dialog modally   openDialog("chrome://calendar/content/calendarEventDialog.xul", "caEditEvent", "chrome,modal", args );}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7fb28834a9779ec300f51c5c88db6c7cb1397501/calendar.js/clean/calendar/resources/content/calendar.js