add beforedownload event in PrintProvider
|Reported by:||bartvde||Owned by:|
Currently the PrintProvider opens up a new window in Internet Explorer. We are having some issues with IE8 settings and people not getting access to the opened up tab, so we want to change the flow a bit by opening up a new window with an HTML page that contains a link to the PDF, so that the download is triggered by explicit user interaction.
In order to do so, we suggest introducing a beforedownload event in PrintProvider. By returning false, we can cancel the default processing and hook in our own.