autocomplete, continued
This commit is contained in:
parent
ab6468cae1
commit
797b3c1927
|
@ -1618,13 +1618,15 @@ requires
|
|||
}
|
||||
}
|
||||
function keypress(event) {
|
||||
setTimeout(function() {
|
||||
var value = that.val();
|
||||
if (self.options.autocomplete && value != self.value) {
|
||||
self.value = value;
|
||||
self.options.autocomplete(self.value, autocomplete);
|
||||
}
|
||||
}, 50);
|
||||
if (event.keyCode != 13) {
|
||||
setTimeout(function() {
|
||||
var value = that.val();
|
||||
if (self.options.autocomplete && value != self.value) {
|
||||
self.value = value;
|
||||
self.options.autocomplete(self.value, autocomplete);
|
||||
}
|
||||
}, 50);
|
||||
}
|
||||
}
|
||||
function onClick(event, data) {
|
||||
Ox.print("onClick", data)
|
||||
|
|
Loading…
Reference in New Issue
Block a user