From d704313569ee29f1eb6818fef38b7f0bcdc2140b Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnWrt_1YwzE4yP3dF061Wy7uNjPDefJm_I" Date: Fri, 18 Oct 2013 08:03:31 -0400 Subject: [PATCH] Added a comment: that works sort of, depending on the extention --- ...t_3_64d12928bc24c48d6f0b5fbb2dfd8f6d._comment | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/forum/download_links_for_attachments/comment_3_64d12928bc24c48d6f0b5fbb2dfd8f6d._comment diff --git a/doc/forum/download_links_for_attachments/comment_3_64d12928bc24c48d6f0b5fbb2dfd8f6d._comment b/doc/forum/download_links_for_attachments/comment_3_64d12928bc24c48d6f0b5fbb2dfd8f6d._comment new file mode 100644 index 000000000..7e84786b6 --- /dev/null +++ b/doc/forum/download_links_for_attachments/comment_3_64d12928bc24c48d6f0b5fbb2dfd8f6d._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnWrt_1YwzE4yP3dF061Wy7uNjPDefJm_I" + nickname="Marius" + subject="that works sort of, depending on the extention" + date="2013-10-18T12:03:26Z" + content=""" +[[setup.txt]] - opens the plain text in the same browser window +[[settings.xml]] - opens the formatted xml as html i.e. I can't right click and save as, I have to copy the text, create an empty file and paste it in +[[.gitignore]] - it does not recognise this file, I have to rename it to gitignore.txt and explain to the user to rename it. + +What I would like is a way to consistently get a dialog that asks the user where to save the file with the correct default file name.. +I've recently figured out how to do this with javascript - it's a bit messy but it works: +http://stackoverflow.com/a/11486284/381083 + +thanks +"""]]