rem:   return true; 
add: document.getElementById( "calendar-publishwindow" ).getButton( "accept" ).setAttribute( "label", "Close" ); document.getElementById( "calendar-publishwindow" ).getButton( "accept" ).setAttribute( "oncommand", "closeDialog()" ); document.getElementById( "publish-progressmeter" ).setAttribute( "mode", "determined" ); return( false ); 
context: function onOKCommand(){   var CalendarPublishObject = new Object();   CalendarPublishObject.url = document.getElementById( "publish-url-textbox" ).value;   CalendarPublishObject.remotePath = document.getElementById( "publish-remotefilename-textbox" ).value;   CalendarPublishObject.username = document.getElementById( "publish-username-textbox" ).value;   CalendarPublishObject.password = document.getElementById( "publish-password-textbox" ).value;   // call caller's on OK function   gOnOkFunction( CalendarPublishObject );         // tell standard dialog stuff to close the dialog   return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3f6614f8d46f13170bbf77ea6db3cf1b9dd623b8/publishDialog.js/clean/calendar/resources/content/publishDialog.js