Last active
December 28, 2015 07:49
-
-
Save patches-76431/7467452 to your computer and use it in GitHub Desktop.
Patch to patch the patch for jquery ui supplied with drupal views module v3.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/js/jquery.ui.dialog.patch.js b/js/jquery.ui.dialog.patch.js | |
| index d00e6ab..73d04ea 100644 | |
| --- a/js/jquery.ui.dialog.patch.js | |
| +++ b/js/jquery.ui.dialog.patch.js | |
| @@ -21,7 +21,9 @@ | |
| (function ($, undefined) { | |
| if ($.ui && $.ui.dialog) { | |
| + if( $.ui.dialog.overlay ){ | |
| $.ui.dialog.overlay.events = $.map('focus,keydown,keypress'.split(','), | |
| function(event) { return event + '.dialog-overlay'; }).join(' '); | |
| + } | |
| } | |
| }(jQuery)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment