: {
          'taskId': taskId,
          'task': task,
          'deadline': deadline,
        },
        success: function (data) {
          if (data['result'] === 'success') {
            // Do Something
          }
          if (data['message']) {
            displayToastTop({type: data['result'], string: data['message'], title: 'Task Updated'});
          }
        }
      });
    }

    function updateObjectiveRow(ele) {
      let url = ele.attr('refresh-objective-url');
      let open = false;
     