Commit 22d35fe7 authored by Mihkel Putrinš's avatar Mihkel Putrinš

fix

parent a4dd882a
......@@ -33,6 +33,8 @@ function upload() {
recurseResources(resource_root_eid, resource, resourcesCreated)
}
var file_upload_tasks = []
function resourcesCreated(err) {
if (err) { throw(err) }
async.parallelLimit(file_upload_tasks, 3, function filesUploaded() {
......@@ -77,9 +79,6 @@ function renderProgress() {
var file_upload_tasks = []
function createEntuResource(parent_eid, resource, callback) {
console.log('create under EID:', parent_eid)
var xhr = new window.XMLHttpRequest()
......
Markdown is supported
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