Closed (fixed)
Project:
AJAX Comments
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
8 Jan 2013 at 19:11 UTC
Updated:
27 Jul 2013 at 21:57 UTC
Jump to comment: Most recent file
After submitting a comment that will save as an unapproved comment, I get the status message "Your comment has been posted". After looking at theme_ajax_comments_notify_text(), I see no conditioning to check if the comment was actually approved or not. If it's not yet published, a different message should appear, just like the comment module does.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | ajax_comments-correct_notification_messages-1883502-1.patch | 2.61 KB | mstef |
Comments
Comment #1
mstef commentedAllow $comment to be passed into the theme function. Alter the message text and status if it's unpublished.
Comment #2
ttkaminski commentedApplied the patch, flushed the theme registry cache, and tested. Worked for me.
Comment #3
ryandekker commentedThis works for me too. I think this is ready to be committed.
Comment #4
muschpusch commentedComment #5
muschpusch commentedok thanks a lot and sorry it took so long! Patch is committed!