Skip to:
Content

Ticket #4824: 4824.diff

File 4824.diff, 1.4 KB (added by boonebgorges, 18 months ago)
  • src/bp-messages/js/autocomplete/jquery.autocomplete.js

    diff --git src/bp-messages/js/autocomplete/jquery.autocomplete.js src/bp-messages/js/autocomplete/jquery.autocomplete.js
    index aabee6a..bd473c1 100644
     
    99 * 
    1010 * Revision: $Id: jquery.autocomplete.js 4485 2008-01-20 13:52:47Z joern.zaefferer $ 
    1111 * 
     12 * Namespaced for BuddyPress as $.fn.autocompletebp, to avoid conflicts with other autocomplete scripts. 
    1213 */ 
    1314 
    1415;(function($) { 
    1516 
    1617$.fn.extend({ 
    17         autocomplete: function(urlOrData, options) { 
     18        autocompletebp: function(urlOrData, options) { 
    1819                var isUrl = typeof urlOrData == "string"; 
    1920                options = $.extend({}, $.Autocompleter.defaults, { 
    2021                        url: isUrl ? urlOrData : null, 
  • src/bp-messages/js/autocomplete/jquery.autocompletefb.js

    diff --git src/bp-messages/js/autocomplete/jquery.autocompletefb.js src/bp-messages/js/autocomplete/jquery.autocompletefb.js
    index 24d3c62..2da0d3f 100644
    jQuery.fn.autoCompletefb = function(options) 
    4646                acfb.removeFind(this); 
    4747        }); 
    4848 
    49         jQuery(settings.inputClass,tmp).autocomplete(settings.urlLookup,settings.acOptions); 
     49        jQuery(settings.inputClass,tmp).autocompletebp(settings.urlLookup,settings.acOptions); 
    5050        jQuery(settings.inputClass,tmp).result(function(e,d,f){ 
    5151                var f = settings.foundClass.replace(/\./,''); 
    5252                var d = String(d).split(' (');