[buddypress-trac] [BuddyPress] #4824: Autocomplete

buddypress-trac noreply at wordpress.org
Wed May 15 19:29:24 UTC 2013


#4824: Autocomplete
--------------------------+----------------------
 Reporter:  stefwilliams  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Messaging     |     Version:  1.7
 Severity:  major         |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------

Comment (by defunctlife):

 If buddypress would enqueue the autcomplete scripts in the footer it would
 fix most issues.

 e.g.

 {{{
 wp_enqueue_script( 'bp-jquery-autocomplete',    BP_PLUGIN_URL . "bp-
 messages/js/autocomplete/jquery.autocomplete{$min}.js",   array( 'jquery'
 ), bp_get_version(), true );
                 wp_enqueue_script( 'bp-jquery-autocomplete-fb',
 BP_PLUGIN_URL . "bp-
 messages/js/autocomplete/jquery.autocompletefb{$min}.js", array(),
 bp_get_version(), true );
                 wp_enqueue_script( 'bp-jquery-bgiframe',
 BP_PLUGIN_URL . "bp-messages/js/autocomplete/jquery.bgiframe{$min}.js",
 array(),           bp_get_version(), true );
                 wp_enqueue_script( 'bp-jquery-dimensions',
 BP_PLUGIN_URL . "bp-messages/js/autocomplete/jquery.dimensions{$min}.js",
 array(),           bp_get_version(), true );
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4824#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list