Sha256: feb949d8970b79d87ed36428f3df3219060e49c6a1926c9a5e72406db9b51c50
Contents?: true
Size: 602 Bytes
Versions: 48
Compression:
Stored size: 602 Bytes
Contents
--- old/development-bundle/ui/jquery.ui.autocomplete.js +++ new/development-bundle/ui/jquery.ui.autocomplete.js @@ -70,7 +70,13 @@ //passthrough - ENTER and TAB both select the current element case keyCode.TAB: if ( !self.menu.active ) { - return; + if (!self.menu.element.is( ":visible" )) return; + var firstItem = self.menu.element.children().eq(0); + if (firstItem){ + self.menu.activate(event, firstItem); + return false; + } + else return; } self.menu.select( event ); break;
Version data entries
48 entries across 48 versions & 1 rubygems