Pablo made a proper button to call the /create task url

This commit is contained in:
2016-09-21 15:14:19 +02:00
parent 8470efbcf1
commit 87f6226cf6
2 changed files with 3 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ script.
function task_create() {
var base_url = "{{ url_for('attract.tasks.perproject.create_task', project_url=project.url) }}";
$.get(base_url, function(task_data) {
$.post(base_url, function(task_data) {
task_open(task_data.task_id);