summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-12-26 08:57:48 +0000
committerGo MAEDA <maeda@farend.jp>2023-12-26 08:57:48 +0000
commitc6389210ec39c665fe253cf41fbb9c05b9ebadb4 (patch)
tree45cda0e557f98c0f08505b48fff41bab302f3399
parentf3d8e698101b558d767777eeaf791ec59062e190 (diff)
downloadredmine-c6389210ec39c665fe253cf41fbb9c05b9ebadb4.tar.gz
redmine-c6389210ec39c665fe253cf41fbb9c05b9ebadb4.zip
Incorrect position of "Edited" mark in issue notes with h4 headings (#39932).
Contributed by Y. Saku. git-svn-id: https://svn.redmine.org/redmine/trunk@22561 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/journals/update.js.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/journals/update.js.erb b/app/views/journals/update.js.erb
index 87320c5d4..227d169fc 100644
--- a/app/views/journals/update.js.erb
+++ b/app/views/journals/update.js.erb
@@ -7,7 +7,7 @@
$("#journal-<%= @journal.id %>-notes").replaceWith('<%= escape_javascript(render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))) %>');
$("#journal-<%= @journal.id %>-notes").show();
$("#journal-<%= @journal.id %>-form").remove();
- var journal_header = $("#change-<%= @journal.id %> h4");
+ var journal_header = $("#change-<%= @journal.id %>>div.note>h4.note-header");
var journal_updated_info = journal_header.find("span.update-info");
if (journal_updated_info.length > 0) {
journal_updated_info.replaceWith('<%= escape_javascript(render_journal_update_info(@journal)) %>');