github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 249
    • 27
  • Source
  • Commits
  • Network (27)
  • Graphs
  • Tree: d2272f8

click here to add a description

click here to add a homepage

  • Switch Branches (4)
    • bind
    • master
    • panel
    • tooltip
  • Switch Tags (15)
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Autocomplete: fixed #5349 - Autocomplete: mouseover of menu item causes 
data loss
rdworth (author)
Mon Mar 15 14:24:42 -0700 2010
commit  d2272f86bcc4f526f886f6b7846e34c0f1442c34
tree    b1133b98218bad508c493a9b9c57af95cbd93eb2
parent  2be46581da77440b88a9cd55a129c90c6af7a82d
M ui/jquery.ui.autocomplete.js 4 ••••
Txt ui/jquery.ui.autocomplete.js
  • View file @ d2272f8
... ...
@@ -119,7 +119,9 @@ $.widget( "ui.autocomplete", {
119 119
           }
120 120
         },
121 121
         blur: function( event, ui ) {
122  
-          self.element.val( self.term );
  122
+          if ( self.menu.element.is(":visible") ) {
  123
+            self.element.val( self.term );
  124
+          }
123 125
         }
124 126
       })
125 127
       .zIndex( this.element.zIndex() + 1 )

0 notes on commit d2272f8

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server