euscanwww: Removing duplicated code
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
@ -68,10 +68,13 @@
|
||||
var url = "{% url "apply_task" "task_name" %}";
|
||||
|
||||
$.post(url.replace("task_name", task_name), data, function() {
|
||||
//location.reload();
|
||||
alert("Submitted!");
|
||||
location.reload();
|
||||
});
|
||||
});
|
||||
|
||||
setTimeout(location.reload, 10000);
|
||||
|
||||
});
|
||||
})(django.jQuery);
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user