Support disabled items, rework #MORE and prompt
parent
4383d9daa8
commit
db7b43e0e6
|
@ -426,6 +426,8 @@ SimpleAutocomplete.prototype.onItemMouseOver = function(elm)
|
|||
SimpleAutocomplete.prototype.onItemClick = function(ev, elm)
|
||||
{
|
||||
var index = parseInt(elm.id.substr(this.id.length+6));
|
||||
if (this.items[index][2])
|
||||
return true;
|
||||
if (this.moreMarker && this.items[index][1] == this.moreMarker)
|
||||
{
|
||||
// User clicked 'more'. Load more items without delay.
|
||||
|
|
Loading…
Reference in New Issue