WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Editable Comments] Problems with plugin and javascript (3 posts)

  1. danielesavi
    Member
    Posted 4 years ago #

    Hi, I've just installed your very interesting plugin for a website I'm setting up. The problem: if I use the cool javascript interface, the progress bar hangs and the windows never disappears. If I manually close the window, and reload the page, the comment IS actually modified, so the plugin works, but it's quite impossible to explain to normal user :P

    Instead, if I use the not-javascript interface, it works normally except for the "cancel" button which is not working.

    Can you please help me? I'd really need a plugin like yours for my site :)

    Thanks,

    Daniele

    http://wordpress.org/extend/plugins/editable-comments/

  2. ljmac
    Member
    Posted 3 years ago #

    Yeah, I'm having similar problems: the JavaScript works okay for me, except that it doesn't update the comment after I close it! So I'm using the non-JavaScript window (which doesn't have this problem), but the cancel button doesn't work for me either!

    I would also like the ability to exclude admins, as we already have all the back end editing stuff anyway, and it's more secure (my admin area is password protected).

    Overall though, I much prefer this plug-in to the Ajax Edit Comments bloatware we had to use in the past, especially now that it's gone commercial.

  3. Eek
    Member
    Posted 3 years ago #

    I had the same problems :) But you can quickly fix it by going at the plugin folder, open editable-form.php and change the line
    <form action="<?php echo get_permalink().'#comment-'.$editable_comment->comment_ID; ?>" method="post" id="dialog_commentform" onsubmit="return dialog_validate()">

    to

    <form action="<?php echo get_permalink().'#comment-'.$editable_comment->comment_ID; ?>" method="post" id="dialog_commentform" onsubmit="dialog_validate()">

    That is simply remove the "return" in from of dialog_validate() on the onsubmit :)

Topic Closed

This topic has been closed to new replies.

About this Topic