Skip to content
Permalink
Browse files

Widget: Work around bug in jQuery <1.6.3 where .removeData( dashed-na…

…me ) doesn't work.
  • Loading branch information
scottgonzalez committed Jun 11, 2012
1 parent a59c896 commit f0d4da890356c68f4e29c7dbc1c0349bf2181c1c
Showing with 4 additions and 1 deletion.
  1. +4 −1 ui/jquery.ui.widget.js
@@ -251,7 +251,10 @@ $.Widget.prototype = {
// 1.9 BC for #7810
// TODO remove dual storage
.removeData( this.widgetName )
.removeData( this.widgetFullName );
.removeData( this.widgetFullName )
// support: jquery <1.6.3
// http://bugs.jquery.com/ticket/9413
.removeData( $.camelCase( this.widgetFullName ) );
this.widget()
.unbind( "." + this.widgetName )
.removeAttr( "aria-disabled" )

0 comments on commit f0d4da8

Please sign in to comment.
You can’t perform that action at this time.