You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "submit" button changes color and the form becomes blurred (as the comment is being submitted).
The form remains the same, the comment doesn't appear on the page.
After refresh, the comment appears on the page.
Expected behavior
After submitting, the comment appears on the page, the comment form returns to its "fresh" state (the submit button changes color back, the textarea is cleared)
Screenshots
Desktop (please complete the following information):
I've checked in Firefox and Chrome, but suppose that the browser doesn't matter, cause the reason specified below:
Additional context
I've noticed this error in dev environment.
Ah, this is because the send_new_comment_notifications doesn't handle commenting on podcasts right now. I think that's a discussion we'll want to have later.
For now, a one line guard statement should at least resolve that error:
defsend_new_comment_notification(comment)returnifcomment.commentable_type == "PodcastEpisode"# rest of the code
Anyone working on this should continue to see if the comment submits and appears properly on the podcast episode.
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Ctrl+EnterExpected behavior
After submitting, the comment appears on the page, the comment form returns to its "fresh" state (the submit button changes color back, the textarea is cleared)
Screenshots

Desktop (please complete the following information):
I've checked in Firefox and Chrome, but suppose that the browser doesn't matter, cause the reason specified below:
Additional context
I've noticed this error in dev environment.
So the code needs to be updated to be suitable for the
PodcastEpisodecomments.The text was updated successfully, but these errors were encountered: