Support disabled items, rework #MORE and prompt

master
Vitaliy Filippov 2013-03-05 16:29:12 +00:00
parent db7b43e0e6
commit 1d6b572985
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ SimpleAutocomplete.prototype.onItemClick = function(ev, elm)
{ {
var index = parseInt(elm.id.substr(this.id.length+6)); var index = parseInt(elm.id.substr(this.id.length+6));
if (this.items[index][2]) if (this.items[index][2])
return true; return false;
if (this.moreMarker && this.items[index][1] == this.moreMarker) if (this.moreMarker && this.items[index][1] == this.moreMarker)
{ {
// User clicked 'more'. Load more items without delay. // User clicked 'more'. Load more items without delay.