aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-03-01 15:13:52 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-03-01 15:13:52 +0100
commit2321ae06cbe44b86d14c82ebd452d06e3922dca9 (patch)
treefa593c0a5b599de98d409b0675572e0a74618045
parent5e51b8db284b23bf818148051aaf5b41a7b9c7b1 (diff)
downloadjquery-ui-2321ae06cbe44b86d14c82ebd452d06e3922dca9.tar.gz
jquery-ui-2321ae06cbe44b86d14c82ebd452d06e3922dca9.zip
Remove both widgetName and widgetFullName data
-rw-r--r--ui/jquery.ui.widget.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js
index 17416ff9f..40abd67de 100644
--- a/ui/jquery.ui.widget.js
+++ b/ui/jquery.ui.widget.js
@@ -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 )