WordPress.org

Ready to get started?Download WordPress

Forums

Wp-Pro-Quiz
Insert media does not work in answers (3 posts)

  1. resolve-plugin-issues
    Member
    Posted 11 months ago #

    It works for the correct/incorrect responses but the actual answers media button does not work.

    http://wordpress.org/plugins/wp-pro-quiz/

  2. xeno010
    Member
    Plugin Author

    Posted 11 months ago #

    Hello resolve-plugin-issues,

    I need more information:
    - WordPress version?
    - Wp-Pro-Quiz version?
    - Browser?
    - Javascript errors?

  3. resolve-plugin-issues
    Member
    Posted 11 months ago #

    wordpress version: latest
    wp pro quiz: latest
    browser: firefox

    [ Moderator note: please wrap code in backticks or use the code button. ]

    js error (in firebug):
    *TypeError: a(...)[0] is undefined
    *wpProQuiz_admin.min.js
    
    (b=a(document.createElement("option")).val(b.categoryId).text(b.categoryName).attr("selected","selected"),a('select[name="category"]').append(b).change())})},addMediaClick:function(){if("function"!=typeof tb_show)return!1;var b=a(this).closest("li"),c=b.find('input[name="answerData[][html]"]:eq(0)'),d=b.find(".wpProQuiz_text:eq(0)");window.org_send_to_editor=window.send_to_editor;var e=tb_remove;window.send_to_editor=function(b){b=a("img",b)[0].outerHTML;d.val(d.val()+b);c.attr("checked",!0);tb_remove();

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.