Dialog: Fix off() -> unbind() for jQuery 1.6 compat

Follows-up c9815f13b4.

Fixes #10072
Closes gh-1256
This commit is contained in:
Timo Tijhof 2014-05-27 20:22:14 +02:00 committed by TJ VanToll
parent 796a8b37e2
commit 6c4005280d

View File

@ -843,7 +843,7 @@ return $.widget( "ui.dialog", {
if ( !overlays ) {
this.document
.off( "focusin" )
.unbind( "focusin" )
.removeData( "ui-dialog-overlays" );
} else {
this.document.data( "ui-dialog-overlays", overlays );