Skip to content

Commit

Permalink
Fix active message after mark unread (humhub#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
yurabakhtin authored Aug 8, 2024
1 parent 8a3f558 commit edfcf04
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Changelog
--------------------
- Enh #411: Standardization of Modal Button Positions
- Enh #363: Deny access for files from message where current user is not participant
- Fix #412: Fix active message after mark unread

3.2.2 (July 9, 2024)
--------------------
Expand Down
1 change: 1 addition & 0 deletions resources/js/humhub.mail.inbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ humhub.module('mail.inbox', function (module, require, $) {
this.$.find('.entry').removeClass('selected');

// Set new selection
root = null; // refresh root after load new active message
if (getRoot()) {
var $selected = this.$.find('[data-message-id="' + getRoot().getActiveMessageId() + '"]');
if ($selected.length) {
Expand Down
1 change: 1 addition & 0 deletions resources/js/humhub.mail.messenger.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ humhub.module('mail.inbox', function (module, require, $) {
this.$.find('.entry').removeClass('selected');

// Set new selection
root = null; // refresh root after load new active message
if (getRoot()) {
var $selected = this.$.find('[data-message-id="' + getRoot().getActiveMessageId() + '"]');
if ($selected.length) {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/humhub.mail.messenger.bundle.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/humhub.mail.notification.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit edfcf04

Please sign in to comment.