Fix data export.

This commit is contained in:
James Cole
2017-12-26 08:32:00 +01:00
parent 5289f3e4c2
commit f7652e7f01
5 changed files with 53 additions and 41 deletions

View File

@@ -44,6 +44,7 @@ $(function () {
function startExport() {
"use strict";
console.log('startExport');
hideForm();
showLoading();
hideError();
@@ -95,7 +96,6 @@ function showError(text) {
function callExport() {
"use strict";
var data = $('#export').serialize();
data['_token'] = token;
// call status, keep calling it until response is "finished"?
intervalId = window.setInterval(checkStatus, 500);