Elgg  Version 2.2
Functions
autocomplete.js File Reference

Go to the source code of this file.

Functions

 define (function(require){var $=require('jquery');var elgg=require('elgg');require('jquery.ui.autocomplete.html');return{init:function(){$('.elgg-input-autocomplete').each(function(){var $this=$(this);if(!$this.data('autocompleteInitialized')){$this.data('autocompleteInitialized', true);$this.autocomplete({source:$this.data('source'), minLength:2, html:"html", messages:{noResults: '', results:function(){}}});}});}};})
 

Function Documentation

define ( function(require){var $=require('jquery');var elgg=require('elgg');require('jquery.ui.autocomplete.html');return{init:function(){$('.elgg-input-autocomplete').each(function(){var $this=$(this);if(!$this.data('autocompleteInitialized')){$this.data('autocompleteInitialized', true);$this.autocomplete({source:$this.data('source'), minLength:2, html:"html", messages:{noResults: '', results:function(){}}});}});}};}  )