Print dialog is not shown after the first successful action
Print dialog is not shown after the first successful action
If we do the print action for the first time, a new browser tab is opened and the print dialog shows up. If we close this dialog and click the print button again, the print dialog doesn't show up until the user hits "Ctrl + P".
Steps to reproduce:
1. Open this link (An example provided by the DataTable library team): https://datatables.net/extensions/buttons/examples/print/simple.html
2. Click "Print" button. A new tab is opened.
3. Click "Cancel" or hit "Esc" to close the dialog. The tab will close, as a result.
4. Click the "Print" button again.
Expected Result:
A new tab is opened and the print dialog shows up
Actual Results:
A new tab is opened, but the print dialog doesn't show up