WordPress.org

Support

Support » Plugins and Hacks » RebelMouse: Your Social Front Page » Conflict with other ajax requests

Conflict with other ajax requests

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflict with other ajax requests’ is closed to new replies.
Skip to toolbar