This avoids making a search request for each keypressed
bzr revid: mat@openerp.com-
20140120160147-q7lg4j93c836ec44
html: true,
autoFocus: true,
minLength: 1,
- delay: 0,
+ delay: 250,
}).data('autocomplete');
// MonkeyPatch autocomplete instance
// disabled to solve a bug, but may cause others
//close: anyoneLoosesFocus,
minLength: 0,
- delay: 0
+ delay: 250
});
this.$input.autocomplete("widget").openerpClass();
// used to correct a bug when selecting an element by pushing 'enter' in an editable list