rem: document.getElementById("calendar-new-printwindow").cancelDialog(); 
add: var closeDialog = true; #ifdef XP_UNIX #ifndef XP_MACOSX closeDialog = false; #endif #endif   if (closeDialog) { document.getElementById("calendar-new-printwindow").cancelDialog(); } 
context: function printAndClose(){    refreshHtml(        function finish() {            PrintUtils.print();            document.getElementById("calendar-new-printwindow").cancelDialog();        });    return false; // leave open}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/0825ab6edd213237fa76a36743e8c9511a6a1b44/printDialog.js/buggy/calendar/resources/content/printDialog.js