]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/forum/download_links_for_attachments/comment_3_64d12928bc24c48d6f0b5fbb2dfd8f6d._comment
ikiwiki (3.20140916) unstable; urgency=low
[git.ikiwiki.info.git] / doc / forum / download_links_for_attachments / comment_3_64d12928bc24c48d6f0b5fbb2dfd8f6d._comment
1 [[!comment format=mdwn
2  username="https://www.google.com/accounts/o8/id?id=AItOawnWrt_1YwzE4yP3dF061Wy7uNjPDefJm_I"
3  nickname="Marius"
4  subject="that works sort of, depending on the extention"
5  date="2013-10-18T12:03:26Z"
6  content="""
7 [[setup.txt]] - opens the plain text in the same browser window
8 [[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
9 [[.gitignore]] - it does not recognise this file, I have to rename it to gitignore.txt and explain to the user to rename it.
11 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..
12 I've recently figured out how to do this with javascript - it's a bit messy but it works:
13 http://stackoverflow.com/a/11486284/381083
15 thanks
16 """]]