1
0

Auto closing print preview page after printing

This commit is contained in:
Michael Gordeev
2019-10-17 16:15:38 +03:00
parent 3436237d31
commit 01bb6f03d2
+4 -1
View File
@@ -27,7 +27,10 @@
@if(!(bool)ViewData["pdfPreview"]) @if(!(bool)ViewData["pdfPreview"])
{ {
<script type="text/javascript">print();</script> <script type="text/javascript">
print();
close();
</script>
} }
</body> </body>
</html> </html>