veRow(ele);
          }
          if (data['message']) {
            displayToastTop({type: data['result'], string: data['message'], title: 'Objective Update'});
          }
          update_badges();
        }
      });
    }

    function toggleTodo(ele) {
      let url = ele.attr('toggle-task-url');
      let taskId = ele.attr('task-id');
      let csrftoken = ele.attr('task-csrftoken');
      let objectiveRowId = '#objective-row-' + ele.attr('objective-id');
      let objectiveRow = $(objectiveRowId);
 