Skip to:
Content
Pages
Categories
Search
Top
Bottom

JS Error: suggest


  • Scott Kingsley Clark
    Participant

    @sc0ttkclark

    I’m getting this on all my sites that have upgraded to 2.2.x (tested on 2.2.1 too):

    Uncaught TypeError: Object [object Object] has no method 'suggest'

    This relates to this part of the code added to every page of the WP Admin area:


    jQuery(document).ready(function() {

    var bbp_topic_id = jQuery( '#bbp_topic_id' );

    bbp_topic_id.suggest( ajaxurl + '?action=bbp_suggest_topic', {

    onSelect: function() {
    var value = this.value;
    bbp_topic_id.val( value.substr( 0, value.indexOf( ' ' ) ) );
    }
    } );
    });

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar