mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Widget: Work around bug in jQuery <1.6.3 where .removeData( dashed-name ) doesn't work.
This commit is contained in:
parent
a59c896b54
commit
f0d4da8903
5
ui/jquery.ui.widget.js
vendored
5
ui/jquery.ui.widget.js
vendored
@ -251,7 +251,10 @@ $.Widget.prototype = {
|
|||||||
// 1.9 BC for #7810
|
// 1.9 BC for #7810
|
||||||
// TODO remove dual storage
|
// TODO remove dual storage
|
||||||
.removeData( this.widgetName )
|
.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()
|
this.widget()
|
||||||
.unbind( "." + this.widgetName )
|
.unbind( "." + this.widgetName )
|
||||||
.removeAttr( "aria-disabled" )
|
.removeAttr( "aria-disabled" )
|
||||||
|
Loading…
Reference in New Issue
Block a user