autocomplete, continued
This commit is contained in:
parent
f2608df14d
commit
a26490d1d3
1 changed files with 9 additions and 7 deletions
|
@ -1618,6 +1618,7 @@ requires
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function keypress(event) {
|
function keypress(event) {
|
||||||
|
if (event.keyCode != 13) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
var value = that.val();
|
var value = that.val();
|
||||||
if (self.options.autocomplete && value != self.value) {
|
if (self.options.autocomplete && value != self.value) {
|
||||||
|
@ -1626,6 +1627,7 @@ requires
|
||||||
}
|
}
|
||||||
}, 50);
|
}, 50);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
function onClick(event, data) {
|
function onClick(event, data) {
|
||||||
Ox.print("onClick", data)
|
Ox.print("onClick", data)
|
||||||
that.val(data.title);
|
that.val(data.title);
|
||||||
|
|
Loading…
Reference in a new issue