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

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 235
    • 26
  • Source
  • Commits
  • Network (26)
  • Graphs
  • Tree: f7c75d9

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

fixed #5094 - selectable: destroy method doesn't clean up selectees
rdworth (author)
Sun Jan 24 12:47:06 -0800 2010
commit  f7c75d900f42a3479af0ed52d8f393e4028210e0
tree    849ee28a9bd730a1255caf1b54422a7b7ac2cc8d
parent  93ed6d5a0cab30d20a272c02528f6e829ef1e7d8
M ui/jquery.ui.selectable.js 3 •••
0
ui/jquery.ui.selectable.js
...
62
63
64
 
 
 
65
66
67
...
62
63
64
65
66
67
68
69
70
0
@@ -62,6 +62,9 @@ $.widget("ui.selectable", $.ui.mouse, {
0
   },
0
 
0
   destroy: function() {
0
+    this.selectees
0
+      .removeClass("ui-selectee")
0
+      .removeData("selectable-item");
0
     this.element
0
       .removeClass("ui-selectable ui-selectable-disabled")
0
       .removeData("selectable")

Comments

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