Print: popup now automatically closes with print dialog. Fixes #643

This commit is contained in:
Mottie 2014-06-11 21:39:55 -05:00
parent 5bb688f9e8
commit 9b4ce42286

View File

@ -82,8 +82,9 @@ printTable = ts.printTable = {
'<style>' + style + '</style>' + '<style>' + style + '</style>' +
'</head><body>' + data + '</body></html>' '</head><body>' + data + '</body></html>'
); );
generator.print();
generator.document.close(); generator.document.close();
generator.print();
generator.close();
return true; return true;
}, },