Skip to content

Commit

Permalink
Remove both widgetName and widgetFullName data
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Mar 1, 2012
1 parent 5e51b8d commit 2321ae0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/jquery.ui.widget.js
Expand Up @@ -248,6 +248,9 @@ $.Widget.prototype = {
// all event bindings should go through this._bind() // all event bindings should go through this._bind()
this.element this.element
.unbind( "." + this.widgetName ) .unbind( "." + this.widgetName )
// 1.9 BC for #7810
// TODO remove dual storage
.removeData( this.widgetName )
.removeData( this.widgetFullName ); .removeData( this.widgetFullName );
this.widget() this.widget()
.unbind( "." + this.widgetName ) .unbind( "." + this.widgetName )
Expand Down

0 comments on commit 2321ae0

Please sign in to comment.