summaryrefslogtreecommitdiff
path: root/static/js/app.js
diff options
context:
space:
mode:
authorAustin <austi_gillm935@ahapps.anoka.k12.mn.us>2016-07-03 08:07:05 +0200
committerGitHub <noreply@github.com>2016-07-03 08:07:05 +0200
commitf5a1c416f2e66f711a3a7a7437f940a145f4e916 (patch)
tree5424fdf343ce9f9b26dfdf0d53979354cd9e622a /static/js/app.js
parent7a0ec1b48181088b9d6bf3d3848c4351f22db3ca (diff)
have JS POST to upload.php in current working directory
Diffstat (limited to 'static/js/app.js')
-rw-r--r--static/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/app.js b/static/js/app.js
index 5b1ddec..eaac857 100644
--- a/static/js/app.js
+++ b/static/js/app.js
@@ -117,7 +117,7 @@ document.addEventListener('DOMContentLoaded', function () {
var bar = row.querySelector('.file-progress');
var percentIndicator = row.querySelector('.progress-percent');
var xhr = new XMLHttpRequest();
- xhr.open('POST', '/upload.php');
+ xhr.open('POST', 'upload.php');
xhr['row'] = row;
xhr['bar'] = bar;