mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Aliases to external addresses are now supported. Alias creation/modification forms have been rewritten. (autocompletion of addresses, dynamic number of input fields) see #143 First version of the postfixadmin to modoboa migration script. It has not been tested deeply but I think it should work pretty well. see #140 Some javascript errors (SqueezeBox related) have been fixed.
31 lines
521 B
JavaScript
31 lines
521 B
JavaScript
/**
|
|
* Autocompleter.Local
|
|
*
|
|
* http://digitarald.de/project/autocompleter/
|
|
*
|
|
* @version 1.1.2
|
|
*
|
|
* @license MIT-style license
|
|
* @author Harald Kirschner <mail [at] digitarald.de>
|
|
* @copyright Author
|
|
*/
|
|
|
|
Autocompleter.Local = new Class({
|
|
|
|
Extends: Autocompleter,
|
|
|
|
options: {
|
|
minLength: 0,
|
|
delay: 200
|
|
},
|
|
|
|
initialize: function(element, tokens, options) {
|
|
this.parent(element, options);
|
|
this.tokens = tokens;
|
|
},
|
|
|
|
query: function() {
|
|
this.update(this.filter());
|
|
}
|
|
|
|
}); |