WordPress.org

Forums

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

  1. dimonx3
    Member
    Posted 1 year 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 1 year ago #

    +1

  3. fcolavin
    Member
    Plugin Author

    Posted 1 year ago #

    I updated a new version with this thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • RebelMouse: Your Social Front Page
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.