autocomplete, continued
This commit is contained in:
parent
f023963487
commit
2f233c28e4
1 changed files with 1 additions and 14 deletions
|
@ -1629,16 +1629,9 @@ requires
|
||||||
}
|
}
|
||||||
function onClick(event, data) {
|
function onClick(event, data) {
|
||||||
Ox.print("onClick", data)
|
Ox.print("onClick", data)
|
||||||
that.val(data.title);
|
that.focus().val(data.title);
|
||||||
self.menu.hideMenu();
|
self.menu.hideMenu();
|
||||||
}
|
}
|
||||||
function onDeselect(event, data) {
|
|
||||||
//that.val(self.value);
|
|
||||||
}
|
|
||||||
function onSelect(event, data) {
|
|
||||||
//self.value = that.val();
|
|
||||||
//that.val(data.title);
|
|
||||||
}
|
|
||||||
function selection() {
|
function selection() {
|
||||||
var start, end;
|
var start, end;
|
||||||
if (arguments.length == 0) {
|
if (arguments.length == 0) {
|
||||||
|
@ -2631,12 +2624,6 @@ requires
|
||||||
menuMaxHeight = Math.floor($window.height() - top - 16);
|
menuMaxHeight = Math.floor($window.height() - top - 16);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
that.css({
|
|
||||||
left: left + "px",
|
|
||||||
top: top + "px"
|
|
||||||
}).show();
|
|
||||||
*/
|
|
||||||
that.css({
|
that.css({
|
||||||
left: left + "px",
|
left: left + "px",
|
||||||
top: top + "px"
|
top: top + "px"
|
||||||
|
|
Loading…
Reference in a new issue