Elgg  Version 1.9
ui.autocomplete.js
Go to the documentation of this file.
1 
4 elgg.provide('elgg.autocomplete');
5 
9 elgg.autocomplete.init = function() {
10  $('.elgg-input-autocomplete').autocomplete({
11  source: elgg.autocomplete.url, //gets set by input/autocomplete view
12  minLength: 2,
13  html: "html",
14 
15  // turn off experimental live help - no i18n support and a little buggy
16  messages: {
17  noResults: '',
18  results: function() {}
19  }
20  });
21 };
22 
23 elgg.register_hook_handler('init', 'system', elgg.autocomplete.init);
elgg
Definition: install.js:23
elgg page messages
Definition: admin.php:223
html
Definition: admin.php:36
ui autocomplete
Definition: admin.php:639