Private
Public Access
1
0

bug fix javascript upload

This commit is contained in:
Sander Roosendaal
2017-11-10 13:56:04 +01:00
parent 92e49fe468
commit bb77efb6fc
2 changed files with 21 additions and 9 deletions

View File

@@ -209,11 +209,14 @@
},
success: function(result) {
console.log('got something back');
console.log(result);
console.log(result);
if (result.result == 1) {
window.location.href = result.url;
}
}
window.location.href = result.url;
} else {
console.log(result," reloading");
location.reload();
};
}
});
return false;
});