Remove both widgetName and widgetFullName data

This commit is contained in:
Jörn Zaefferer 2012-03-01 15:13:52 +01:00
parent 5e51b8db28
commit 2321ae06cb

View File

@ -248,6 +248,9 @@ $.Widget.prototype = {
// all event bindings should go through this._bind()
this.element
.unbind( "." + this.widgetName )
// 1.9 BC for #7810
// TODO remove dual storage
.removeData( this.widgetName )
.removeData( this.widgetFullName );
this.widget()
.unbind( "." + this.widgetName )