Opened 13 years ago
Closed 13 years ago
#2046 closed defect (bug) (duplicate)
JS Error: suggest has no method
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.2.2 | Priority: | normal |
Severity: | blocker | Version: | 2.2.1 |
Component: | General - Administration | Keywords: | |
Cc: | lol@… |
Description
I’m getting this on all my sites that have upgraded to 2.2.x (tested on 2.2.1 too). It causes JS to fail, which then breaks every other page of the admin area that uses JS.
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:
<script type="text/javascript"> 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( ' ' ) ) ); } } ); }); </script>
Change History (3)
Note: See
TracTickets for help on using
tickets.
I'm running WP 3.4.2 too