 csrftoken = ele.attr('task-csrftoken');
      let taskId = ele.attr('task-id');
      let objectiveRowId = '#objective-row-' + ele.attr('objective-id');
      let objectiveRow = $(objectiveRowId);
      $.ajaxSetup({
        beforeSend: function (xhr, settings) {
          if (!csrfSafeMethod(settings.type) && !this.crossDomain) {
            xhr.setRequestHeader('X-CSRFToken', csrftoken);
          }
        }
      });
      $.ajax({
        url: url,
        type: 'POST',
        dataType: 'json',
     