WordPress.org

Ready to get started?Download WordPress

Forums

RebelMouse: Your Social Front Page
Conflict with other ajax requests (3 posts)

  1. dimonx3
    Member
    Posted 7 months ago #

    Please add this fix to file js/rebelmouse-plugin.js in line 74
    if (settings.hasOwnProperty('data')) {
    `if (settings.data.search('action=save-widget') != -1 && settings.data.search('id_base=' + base.WIDGET_ID_NAME) != -1) {
    base.bindWidget();
    }`
    }
    Because without this condition occurs error:
    Uncaught TypeError: Cannot call method 'search' of undefined
    Your function (ajaxSuccess) executed on every Ajax request and not only on your Ajax requests. Not always necessary to transfer some data.

    http://wordpress.org/plugins/rebelmouse-widget/

  2. Alex M
    Member
    Posted 6 months ago #

    +1

  3. fcolavin
    Member
    Plugin Author

    Posted 6 months ago #

    I updated a new version with this thanks!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.