Skip to content
Snippets Groups Projects
Commit d79d8538 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #15357 fix indent

parent 4249a31e
Branches
Tags
2 merge requests!321Dev#12992 custom fields,!313Dev#12992 custom fields
......@@ -24,16 +24,19 @@
'current': current,
'baseUrl': baseUrl,
downloadReport: function(datas) {
var a = $('<a target="_blank" download="report.csv" href="data:attachment/csv,' + encodeURIComponent(datas) + '"></a>');
a.appendTo($('body'));
this.download(a);
},
download: function(anchor) {
anchor[0].click();
},
jsonContent: function(url) {
var ajax= $.ajax({
url: url,
......
......@@ -17,12 +17,12 @@
* along with AFI-OPAC 2.0; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
var fixture = '';
var helper = null;
var options = null;
var baseUrl = 'bokeh'
QUnit.module('custom_fields', {
setup: function() {
jQuery.ajax = function (param) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment