Problem/Motivation
There are several js errors with the inbox block
1. on setActiveThread() container is undefined when the page loads.
2. $(this) inside the each() loops is returning the window and not the element it's looping over, and the call to preventDefault() inside the click handlers are happening for the entire page making and link unclickable
3. the load more threads link is not working.
I believe #3424499: Stuck on undefined URL is related
Proposed resolution
All of these seem to be related, and after some poking around I see that $(this) should be replaced with the elements arg from the each() loop to target the correct element in private_message_inbox_block.js
MR incoming.
Issue fork private_message-3464371
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
loze commentedComment #4
loze commentedComment #5
sagesolutions commentedI believe this issue is fixed in https://www.drupal.org/project/private_message/issues/3365542
Comment #6
loze commentedyes, #3365542: Loading previous messages and listing last messages doesn't work does fix this