rem: var args = new Object();  args.onOk =  self.publishEntireCalendarDialogResponse; var name = gCalendarWindow.calendarManager.getSelectedCalendarId(); var node = gCalendarWindow.calendarManager.rdf.getNode( name ); 
add: var args = new Object(); 
context: function publishEntireCalendar(){   var args = new Object();      args.onOk =  self.publishEntireCalendarDialogResponse;   var name = gCalendarWindow.calendarManager.getSelectedCalendarId();   var node = gCalendarWindow.calendarManager.rdf.getNode( name );   var remotePath = node.getAttribute( "http://home.netscape.com/NC-rdf#remotePath" );      if( remotePath != "" && remotePath != null )   {      var publishObject = new Object( );      publishObject.remotePath = remotePath;      args.publishObject = publishObject;   }      openDialog("chrome://calendar/content/publishDialog.xul", "caPublishEvents", "chrome,titlebar,modal", args );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dc5c8682eb051e91cbfee84f9933ff32e91a2a1b/calendar.js/clean/calendar/resources/content/calendar.js