Ticket #39: print.php.2.diff
| File print.php.2.diff, 0.8 KB (added by ZGAnderson, 6 years ago) |
|---|
-
print.php
113 113 $fakeExtForIE=""; 114 114 if($reportrecord["type"]=="PDF Report") 115 115 $fakeExtForIE="&ext=.pdf"; 116 $dateTimeStamp=date('Ymdhms'); // make the url unique to avoid using browser cache 116 117 //javascript open each report in new window 117 $tablePrinter->openwindows.="window.open('".$_SESSION["app_path"].$reportrecord["reportfile"]."?tid=".urlencode($tablePrinter->tableid).$fakeExtForIE. "','print".$i."');\n";118 $tablePrinter->openwindows.="window.open('".$_SESSION["app_path"].$reportrecord["reportfile"]."?tid=".urlencode($tablePrinter->tableid).$fakeExtForIE.$dateTimeStamp."','print".$i."');\n"; 118 119 } 119 120 } 120 121 $tablePrinter->openwindows.="</script>\n";