{"action":"closed","issue":{"url":"https://api.github.com/repos/MrRio/jsPDF/issues/1728","repository_url":"https://api.github.com/repos/MrRio/jsPDF","labels_url":"https://api.github.com/repos/MrRio/jsPDF/issues/1728/labels{/name}","comments_url":"https://api.github.com/repos/MrRio/jsPDF/issues/1728/comments","events_url":"https://api.github.com/repos/MrRio/jsPDF/issues/1728/events","html_url":"https://github.com/MrRio/jsPDF/issues/1728","id":319649336,"node_id":"MDU6SXNzdWUzMTk2NDkzMzY=","number":1728,"title":"Save Button in the pdf viewer does not work","user":{"login":"HugoNaut90","id":20700322,"node_id":"MDQ6VXNlcjIwNzAwMzIy","avatar_url":"https://avatars0.githubusercontent.com/u/20700322?v=4","gravatar_id":"","url":"https://api.github.com/users/HugoNaut90","html_url":"https://github.com/HugoNaut90","followers_url":"https://api.github.com/users/HugoNaut90/followers","following_url":"https://api.github.com/users/HugoNaut90/following{/other_user}","gists_url":"https://api.github.com/users/HugoNaut90/gists{/gist_id}","starred_url":"https://api.github.com/users/HugoNaut90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HugoNaut90/subscriptions","organizations_url":"https://api.github.com/users/HugoNaut90/orgs","repos_url":"https://api.github.com/users/HugoNaut90/repos","events_url":"https://api.github.com/users/HugoNaut90/events{/privacy}","received_events_url":"https://api.github.com/users/HugoNaut90/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-02T17:46:12Z","updated_at":"2018-06-02T19:40:46Z","closed_at":"2018-06-02T19:40:46Z","author_association":"NONE","body":"Does someone has an idea, why the save button in the pdf viewer is not working.\r\n\r\nAfter creating the Data and putting it into an iframe, I want to open the pdf in a new window.\r\nSo far it works well, but in the new window the pdf save button in the pdf viewer is not working at all.\r\nAlso not the save as.. functionality.\r\n\r\nThis is the code I have used for\r\nChrome is my standard browser\r\n\r\n`var sDataURI = oPDF.output('datauristring');\r\nvar iframe = \"<iframe width='100%' height='100%' src='\" + sDataURI + \"'></iframe>\";\r\nvar oNewwindow = window.open();\r\noNewwindow.document.open();\r\noNewwindow.document.write(iframe);\r\noNewwindow.document.title = sTitle;\r\noNewwindow.document.close();`\r\n\r\nMany thanks in advance for any kind of hint."}}
{"actor":{"display_login":"arasabbasi"}}