rem: opener.setCursor( "auto" );  self.focus(); 
add:  var layoutList = document.getElementById("layout-field"); while (catenum.hasMoreElements()) { var entry = catenum.getNext(); entry = entry.QueryInterface(Components.interfaces.nsISupportsCString); var contractid = catman.getCategoryEntry('cal-print-formatters', entry); var formatter = Components.classes[contractid] .getService(Components.interfaces.calIPrintFormatter);  layoutList.appendItem(formatter.name, contractid); } layoutList.selectedIndex = 0;  opener.setCursor( "auto" );  self.focus(); 
context: function loadCalendarPrintDialog(){  // set the date to the currently selected date  document.getElementById( "start-date-picker" ).value = gCalendarWindow.currentView.selectedDate;  document.getElementById( "end-date-picker" ).value = gCalendarWindow.currentView.selectedDate;  // start focus on title  var firstFocus = document.getElementById( "title-field" ).focus();  if (gCalendarWindow.EventSelection.selectedEvents.length == 0)    document.getElementById("list").setAttribute("disabled", true);  opener.setCursor( "auto" );    self.focus();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/617dbe1bb7d0fa9373fa320eb588c7a2a17288ec/printDialog.js/buggy/calendar/resources/content/printDialog.js