WordPress.org

Ready to get started?Download WordPress

Forums

Invite Anyone
this.source error in jQuery UI 1.8.16 because of autocomplete. (4 posts)

  1. dennissmolek
    Member
    Posted 2 years ago #

    Hey Boone,

    I'm getting an error on the invites because of a source issue.
    I'm probably going to modify the page to not use the select box so a working autocomplete would be awesome and I figure others may have issues with the script as well.

    http://wordpress.org/extend/plugins/invite-anyone/

  2. Boone Gorges
    Moderator
    Plugin Author

    Posted 2 years ago #

    Can you clarify the error? Or provide a patch? :)

  3. dennissmolek
    Member
    Posted 2 years ago #

    Sure,

    when I click in the invite field it fires a jquery UI error saying this.source is not a function.
    I'm using jQuery UI 1.8.16 from Google's CDN and using the included autocomplete.
    I Googled it and apparently its an issue when not declaring a source.
    I ended up doing something else in the meantime but I've made a note to come back and see if I can solve whats causing it...

  4. Adamelevate
    Member
    Posted 1 year ago #

    I had the same problem, the autocomplete plugin that comes with this plugin shares the same namespace as the jQuery UI plugin. I changed the function name in the included autocomplete.min.js plugin to "BPautocomplete" and changed the useage of it on line 19 of group-invites-js.js to match:
    a = j('#send-invite-form #send-to-input').BPautocomplete(options);

    I know you shouldn't hack a plugin since it will cause issues during upgrading but it's silly to name something so generic that it will most likely bump into other functions.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic