github github
  • Home
  • Pricing and Signup
  • Training
  • Gist
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 919
    • 211
  • Source
  • Commits
  • Network (211)
  • Graphs
  • Tree: 5311fe2

click here to add a description

click here to add a homepage

  • Switch Branches (8)
    • bind
    • devpreview
    • formcontrols
    • master
    • menu
    • panel
    • tooltip
    • widget-super
  • Switch Tags (21)
    • 1.9m2
    • 1.9m1
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.4
    • 1.8.3
    • 1.8.2
    • 1.8.1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
  • Contributors
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Menu: Only look for .ui-menu-item elements to determine if a menu item is the first or last element in the menu. Fixes #5528 - Autocomplete: Issue when try to navigate using up key by keyboard in IE6.
scottgonzalez (author)
Mon Jul 19 08:51:05 -0700 2010
commit  5311fe22f327d275f6f8
tree    c37f1cf601aeea8ab1c9
parent  a090faa833cf5b40105b
M ui/jquery.ui.autocomplete.js 4 ••••
Txt ui/jquery.ui.autocomplete.js
  • View file @ 5311fe2
... ...
@@ -433,11 +433,11 @@ $.widget("ui.menu", {
433 433
   },
434 434
 
435 435
   first: function() {
436  
-    return this.active && !this.active.prev().length;
  436
+    return this.active && !this.active.prevAll(".ui-menu-item").length;
437 437
   },
438 438
 
439 439
   last: function() {
440  
-    return this.active && !this.active.next().length;
  440
+    return this.active && !this.active.nextAll(".ui-menu-item").length;
441 441
   },
442 442
 
443 443
   move: function(direction, edge, event) {

2 notes on commit 5311fe2

jzaefferer added a note to 5311fe2 repo collab

Tue Jul 20 00:38:31 -0700 2010

Are the other changes from the menu branch that need to be applied to autocomplete?

scottgonzalez added a note to 5311fe2 repo collab

Tue Jul 20 04:56:53 -0700 2010

I haven't looked over the menu branch yet. I've got a note about merging this change into the menu branch, but I'm not sure when we want to pull menu into master.

Please log in to comment.
Dedicated Server Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
  • Blog
  • Support
  • Training
  • Job Board
  • Shop
  • Contact
  • API
  • Status
  • © 2010 GitHub Inc. All rights reserved.
  • Terms of Service
  • Privacy
  • Security
  • English
  • Deutsch
  • Français
  • 日本語
  • Português (BR)
  • 中文
  • See all available languages

Your current locale selection: English. Choose another?

  • English
  • Afrikaans
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Српски
  • Svenska
  • 中文