Widget: DataExporter: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 62: Line 62:


                 const dl = document.createElement('a');
                 const dl = document.createElement('a');
                 dl.href = '/index.php/Special:Ask/' + exportUrl;
                 dl.href = 'https://links.communitycenter.eu/index.php/Special:Ask/' + exportUrl;
                 dl.download = 'export.' + formData.get('fileformat');
                 dl.download = 'export.' + formData.get('fileformat');
                 document.body.appendChild(dl);
                 document.body.appendChild(dl);

Revision as of 12:30, 17 August 2023