Skip to content

editorial-comments.js - fix jQuery that updates notified list#488

Merged
rinatkhaziev merged 1 commit intoAutomattic:masterfrom
jerclarke:fix/fix-notfied-list-js
Jan 2, 2019
Merged

editorial-comments.js - fix jQuery that updates notified list#488
rinatkhaziev merged 1 commit intoAutomattic:masterfrom
jerclarke:fix/fix-notfied-list-js

Conversation

@jerclarke
Copy link
Copy Markdown
Contributor

Update jQuery that pulls text from subscribed users

This is a fix for the already-merged #461 already described in a comment there:

#461 (comment)

Currently the "notified list" feature is totally broken.

WHAT THIS CHANGES

  • The jQuery used to get the text from the node next to the textbox (username)
  • There is now an extra div around the checkbox (added as part of the NO ACCESS feature), so this is broken.
  • New jQuery gets the parent of the checkbox, then searches it's siblings for the displayname and uses that

… users

The jQuery used to get the text from the node next to the textbox (username)
There is now an extra div around the checkbox, so this is broken.
New jQuery gets the parent of the checkbox, then searches it's siblings for the displayname and uses that
@jerclarke
Copy link
Copy Markdown
Contributor Author

@rinatkhaziev @sboisvert Pls review this one. It's a pretty obvious fix.

@rinatkhaziev rinatkhaziev merged commit 4cf139b into Automattic:master Jan 2, 2019
@rinatkhaziev
Copy link
Copy Markdown
Contributor

@jerclarke Thanks, merged.

@jerclarke jerclarke deleted the fix/fix-notfied-list-js branch January 2, 2019 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants