autocomplete, continued

This commit is contained in:
Rolux 2010-02-18 21:16:25 +05:30
parent f023963487
commit 2f233c28e4

View file

@ -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"