From 9b4ce422864482b1c66fd64e64c15d385300abe8 Mon Sep 17 00:00:00 2001 From: Mottie Date: Wed, 11 Jun 2014 21:39:55 -0500 Subject: [PATCH] Print: popup now automatically closes with print dialog. Fixes #643 --- js/widgets/widget-print.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/widgets/widget-print.js b/js/widgets/widget-print.js index 54bda3d3..d6b1705d 100644 --- a/js/widgets/widget-print.js +++ b/js/widgets/widget-print.js @@ -82,8 +82,9 @@ printTable = ts.printTable = { '' + '' + data + '' ); - generator.print(); generator.document.close(); + generator.print(); + generator.close(); return true; },