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) {
|
||||
Ox.print("onClick", data)
|
||||
that.val(data.title);
|
||||
that.focus().val(data.title);
|
||||
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() {
|
||||
var start, end;
|
||||
if (arguments.length == 0) {
|
||||
|
@ -2631,12 +2624,6 @@ requires
|
|||
menuMaxHeight = Math.floor($window.height() - top - 16);
|
||||
}
|
||||
}
|
||||
/*
|
||||
that.css({
|
||||
left: left + "px",
|
||||
top: top + "px"
|
||||
}).show();
|
||||
*/
|
||||
that.css({
|
||||
left: left + "px",
|
||||
top: top + "px"
|
||||
|
|
Loading…
Reference in a new issue