From 3b45b94197740b7f0479fc073048a30702b77f23 Mon Sep 17 00:00:00 2001 From: Fabian Franz Date: Sun, 10 Jan 2016 11:30:48 +0100 Subject: [PATCH] changed file type --- src/www/system_usermanager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/www/system_usermanager.php b/src/www/system_usermanager.php index 50e8138a8..c74190e9e 100644 --- a/src/www/system_usermanager.php +++ b/src/www/system_usermanager.php @@ -545,8 +545,8 @@ $( document ).ready(function() { // create link, click and send to client $('') .attr('id','downloadFile') - .attr('href','data:text/csv;charset=utf8,' + encodeURIComponent(output_data)) - .attr('download','apikey.ini') + .attr('href','data:text/plain;charset=utf8,' + encodeURIComponent(output_data)) + .attr('download','apikey.txt') .appendTo('body'); $('#downloadFile').ready(function() {