rem: var printWindow = window.open(self.location.href + '&ignore_frames=1&print_view=1', 'printWindow', args); 
add: var urlSuffix = '&ignore_frames=1&print_view=1'; var urlBase = self.location.href; if (urlBase.indexOf('&assetid=') == -1) {   var mainForm = document.getElementById('main_form'); if (mainForm) urlBase = mainForm.action; } var printWindow = window.open(urlBase + urlSuffix, 'printWindow', args); 
context: function showPrintPopup(){	var args = 'width='+(self.screen.availWidth/2)+',height='+parseInt(self.screen.availHeight*0.8)+',status=0,location=0,menubar=0,directories=0,scrollbars=1';	var printWindow = window.open(self.location.href + '&ignore_frames=1&print_view=1', 'printWindow', args);	printWindow.print();}
meta: 5635	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5635/aff83b000c1231448585b297244974748cb13af8/edit.js/clean/core/lib/js/edit.js