WordPress.org

Ready to get started?Download WordPress

Forums

WP-Ajaxify-Comments
[resolved] Error "Please type a comment" on IE 8 w/ comment added already (8 posts)

  1. David Lano
    Member
    Posted 9 months ago #

    Everything is working flawlessly except for some reason on IE 8 the user fills out everything including name, email, and comment and when clicking submit - IE displays the message "Error "Please type a comment"".

    Any suggestions? Here's a page for an example: http://deebrestin.com/2013/10/i-am-my-beloveds-and-he-is-mine-song-of-songs-lesson-9/

    Any suggestions welcome! Thank you!

    -David

    http://wordpress.org/plugins/wp-ajaxify-comments/

  2. janjonas
    Member
    Plugin Author

    Posted 9 months ago #

    Could you post the comment in IE8 when the WP-Ajaxify-Comments plugin is disabled?

  3. David Lano
    Member
    Posted 9 months ago #

    Well, it's strange - but after clicking it once and getting the error: if I click again then it goes through just fine.

    -David

  4. janjonas
    Member
    Plugin Author

    Posted 9 months ago #

    Does it work for the first click, when the plugin is disabled?

    Could you also try to disable the WYSIWYG editor if this feature is hard-coded in the theme. Just to find out, what is the cause for the problem...

  5. David Lano
    Member
    Posted 9 months ago #

    I just tried deactivating the plugin and it did submit the comment correctly in IE 8 but put the comment in a moderation status.

    I also tried deactivating the WYSIWYG for comments plugin while keeping your plugin active and it went through just fine without the error.

    So, it seems as though the system isn't recognizing that the comment in the WYSIWYG is there while using your plugin? Any thoughts as to how to fix that?

    Thanks so much for the super fast replies!

    -David

  6. janjonas
    Member
    Plugin Author

    Posted 9 months ago #

    Hi,

    please try to set the 'OnBeforeSubmitComment' callback on the plugin's settings page to:

    document.getElementById("comment").value = tinyMCE.getInstanceById("comment").getContent();

    Hope this helps...

  7. David Lano
    Member
    Posted 9 months ago #

    You are a genius! It worked! Thank you so much!!! :)

  8. janjonas
    Member
    Plugin Author

    Posted 9 months ago #

    Thanks for your feedback.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.