do not autocomplete on mouseover. this has resulted in unwanted autocomplete.

fixes bug #3

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7624 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 14 years ago
parent 16cd919795
commit e19ca27004

@ -1,5 +1,6 @@
/*
* jQuery Autocomplete plugin 1.1
* + YACY FIX: do not select on mouseover (tagged: YACY FIX)
*
* Copyright (c) 2009 rn Zaefferer
*
@ -595,10 +596,10 @@ $.Autocompleter.Select = function (options, input, select, config) {
.appendTo(document.body);
list = $("<ul/>").appendTo(element).mouseover( function(event) {
if(target(event).nodeName && target(event).nodeName.toUpperCase() == 'LI') {
/*if(target(event).nodeName && target(event).nodeName.toUpperCase() == 'LI') {
active = $("li", list).removeClass(CLASSES.ACTIVE).index(target(event));
$(target(event)).addClass(CLASSES.ACTIVE);
}
}*/ YACY FIX: do not select on mouseover
}).click(function(event) {
$(target(event)).addClass(CLASSES.ACTIVE);
select();

Loading…
Cancel
Save