]> source.dussan.org Git - redmine.git/commitdiff
Merged r22561 from trunk to 5.1-stable (#39932).
authorGo MAEDA <maeda@farend.jp>
Thu, 28 Dec 2023 00:15:43 +0000 (00:15 +0000)
committerGo MAEDA <maeda@farend.jp>
Thu, 28 Dec 2023 00:15:43 +0000 (00:15 +0000)
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22573 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/journals/update.js.erb

index 87320c5d4a0b28de0818b8a4aa6dc3d15ce8e869..227d169fc77dd044768ec4859400ed4578e0e9f2 100644 (file)
@@ -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)) %>');