Go to the source code of this file.
|
| define (['jquery', 'jquery-ui/widgets/autocomplete', 'jquery.ui.autocomplete.html'], function($){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(){}}});}});}};}) |
|
define |
( |
function($){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(){}}});}});}};} |
| ) |
|