operation')
      });

      //Sync type
      setTimeout(() => { reloadPageContent(); }, 1000);
      operationStatusCheck()
    }

    function viewItem(name){
      console.log("Info: loading operation " + name);
      $.post("{{ url_for('api') }}/operations/load_operation?id=" + serverId + "&project=" + project, { id: name }, function (data) {
        console.log(data);
        if (data.error_code >= 400){
          alert(data.error);
        }
        $("#operationNameViewInput").text("Name: " + name);