WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Edit Flow] JS Error when responding to comments for a post

[Resolved] [Plugin: Edit Flow] JS Error when responding to comments for a post

Viewing 2 replies - 1 through 2 (of 2 total)
  • asecondwill
    Member

    @asecondwill

    Thats because ie is already using ‘parent’ variable name i expect, so replacing the variable with somthing less generic clears it up:
    (line 57-73)
    // Check if reply or new comment
    if(id) {
    jQuery(‘input#ef-comment_parent’).val(id);
    parent_id_string = ‘#comment-‘+id;
    } else {
    parent_id_string = ‘#ef-comments_wrapper’;
    }

    jQuery(‘#ef-comment_respond’).hide();

    // Show reply textbox
    jQuery(‘#ef-replyrow’)
    .show()
    .appendTo(jQuery(parent_id_string))
    ;

    jQuery(‘#ef-replycontent’).focus();

    Plugin Author Mohammad Jangda
    Participant

    @batmoo

    Thanks for the fix Will! We’ll make sure to patch this in the next release.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Edit Flow] JS Error when responding to comments for a post’ is closed to new replies.