From 6c4005280d5f5b49de382e7e4992c1778f541f6c Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Tue, 27 May 2014 20:22:14 +0200 Subject: [PATCH] Dialog: Fix off() -> unbind() for jQuery 1.6 compat Follows-up c9815f13b487d027ef9b. Fixes #10072 Closes gh-1256 --- ui/dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/dialog.js b/ui/dialog.js index 12dc1da65..358000881 100644 --- a/ui/dialog.js +++ b/ui/dialog.js @@ -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 ); -- 2.39.5