Mercurial > hg > webaudioevaluationtool
changeset 2405:c2db5860a247
Hot fix for #70. Safari explanation on how to save
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Fri, 27 May 2016 11:05:30 +0100 |
parents | 52aed03f5db9 |
children | 002be75d71df b7ed9d43ea87 36934565bf6e |
files | test_create/test_core.js |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test_create/test_core.js Fri May 27 08:56:54 2016 +0100 +++ b/test_create/test_core.js Fri May 27 11:05:30 2016 +0100 @@ -1326,7 +1326,10 @@ obj.content = document.createElement("div"); obj.content.id = "finish"; var span = document.createElement("span"); - span.textContent = "Your XML document is linked below. On most browsers, simply right click on the link and select 'Save As'. Or clicking on the link may download the file directly. " + span.textContent = "Your XML document is linked below. On most browsers, simply right click on the link and select 'Save As'. Or clicking on the link may download the file directly." + obj.content.appendChild(span); + span = document.createElement("p"); + span.textContent = "NOTE FOR SAFARI! You cannot right click on the below link and save it as a file, Safari does not like that at all. Instead click on it to open the XML, the Press Cmd+S to open the save dialogue. Make sure you have 'save as Page Source' selected on the bottom of the window. Currently Safari has no plans to support the HTML 'download' attribute which causes this problem"; obj.content.appendChild(span); var link = document.createElement("div"); link.appendChild(doc.firstElementChild);