From ad1ed5a510265119ff6534b38b504ba581d2c459 Mon Sep 17 00:00:00 2001 From: evazion Date: Thu, 12 Apr 2018 14:52:50 -0500 Subject: [PATCH] Fix #3623: Changes to existing notes aren't being saved. --- app/assets/javascripts/notes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index c55f1ef9f..53cfd309a 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -446,12 +446,12 @@ Danbooru.Note = { width: $note_box.width() / ratio, height: $note_box.height() / ratio, body: $note_body.data("original-body"), - post_id: Danbooru.meta("post-id") } } if ($note_box.data("id").match(/x/)) { hash.note.html_id = $note_box.data("id"); + hash.note.post_id = Danbooru.meta("post-id"); } return hash;