Update for V2.0 #27

Merged
ryan merged 80 commits from 1.3 into main 2026-06-21 20:46:16 -04:00
Showing only changes of commit 161e73f354 - Show all commits
+4 -3
View File
@@ -167,14 +167,14 @@ class Note implements JsonSerializable
public function toLink(): string
{
return "<a href='#' onclick=\"retrieveNote('{$this->id}')\">".
return "<a href='#' onclick=\"note.retrieveNote('{$this->id}')\">".
$this->title.
"</a>&nbsp;".
"<a href='#' onclick=\"deleteNote('{$this->id}', this)\">".
"<a href='#' onclick=\"note.deleteNote('{$this->id}', this)\">".
"<i class='fas fa-trash-alt'></i>".
"</a>".
(
$this->recording ? "<br/>".
$this->recording ?
"<a href='{$this->recording}' target='_blank' class='recording-link'>".
"<i class='fa fa-play-circle'></i>".
"</a>" : null
@@ -195,6 +195,7 @@ class Note implements JsonSerializable
{
return [
'id' => $this->getId(),
'recording' => $this->getRecording(),
'link' => $this->toLink(),
'title' => $this->getTitle(),
'date' => $this->getDate(),