/** * An autocompleter implementation that provides a more advanced UI * (completed elements are stored in separate DIV elements). * * Events handled by this class: * - AutoComplete:focus * - AutoComplete:handlers * - AutoComplete:reset * - AutoComplete:update * * Events triggered by this class: * - AutoComplete:resize * * @author Michael Slusarz * @author Michael J Rubinsky * @copyright 2008-2015 Horde LLC * @license GPL-2 (http://www.horde.org/licenses/gpl) */ var IMP_PrettyAutocompleter = Class.create({ // box, // dimg, // elt, // input, itemid: 0, lastinput: '', initialize: function(elt, params) { var ac, active, p_clone; this.p = Object.extend({ // Outer div/fake input box and CSS class // box (created below) boxClass: 'hordeACBox', boxClassFocus: '', //