Hi!
I have two cfm (coldfusion) pages that contains multiple charts and have the feature to export the page/charts as pdf. During our iOS testing, the ipad2 that we're using always crashes chrome and when using safari, it just reloads the page without pushing the download. The other page works fine.
The only difference between the 2 page is:
On the page the works properly, the javascript functions are inside the page while the one that crashes, the functions are contained in an external file.
I tried connecting the ipad2 to a Mac to debug and it always crashes when trying to execute kendo.drawing.drawDOM.
PS: Both exports are working when i tested it on an iPad mini.
Any ideas/suggestions? Thanks,
Below is the code snippet:
kendo.drawing.drawDOM($(clone_id), {avoidLinks: true}).then(function(group) {
//Render the result as a PDF file
return kendo.drawing.exportPDF(group, {
paperSize: "auto",
margin: { left: "1cm", top: "1cm", right: "1cm", bottom: "1cm" }
});
}).done(function(data) {
// Save the PDF file
kendo.saveAs({
dataURI: data,
fileName: fileName,
proxyURL: '/Controllers/v2/LearnerDashboard/v2/LearnerSummaryController.cfc?method=openExport',
forceProxy: true,
proxyTarget: '_blank'
});
});