better more intuitive course update
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<p>Drag and drop files here </p>
|
||||
</div>
|
||||
<div id="id_drop-files" class="grid_12 alpha drop-files">
|
||||
<form id="file_form" enctype="multipart/form-data" action="{{ formloc }}" method="post">
|
||||
<form id="file_form" enctype="multipart/form-data" method="post">
|
||||
{% if form.errors %}
|
||||
<p style="color: red;">
|
||||
Please correct the error{{ form.errors|pluralize }} below.
|
||||
@@ -242,6 +242,8 @@
|
||||
$("#id_waiting").replaceWith(
|
||||
'<div id="id_failed" class="grid_12 alpha message">Your upload failed</div>'
|
||||
);
|
||||
console.log(data);
|
||||
setTimeout(1000);
|
||||
setTimeout(function() {
|
||||
location.reload();
|
||||
},1000);
|
||||
|
||||
Reference in New Issue
Block a user