Projet

Général

Profil

Révision 5d12d676

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views/js/jquery.ui.dialog.patch.js
1 1
/**
2
 * @file
2 3
 * This is part of a patch to address a jQueryUI bug.  The bug is responsible
3 4
 * for the inability to scroll a page when a modal dialog is active. If the content
4 5
 * of the dialog extends beyond the bottom of the viewport, the user is only able
......
15 16
 *
16 17
 * The original code for this object:
17 18
 * $.ui.dialog.overlay.events: $.map('focus,mousedown,mouseup,keydown,keypress,click'.split(','),
18
 *  function(event) { return event + '.dialog-overlay'; }).join(' '),
19
 *
19
 *  function(event) {
20
 *    return event + '.dialog-overlay';
21
 *  }).join(' '),
20 22
 */
21 23

  
22 24
(function ($, undefined) {
23 25
  if ($.ui && $.ui.dialog && $.ui.dialog.overlay) {
24 26
    $.ui.dialog.overlay.events = $.map('focus,keydown,keypress'.split(','),
25
                                 function(event) { return event + '.dialog-overlay'; }).join(' ');
27
      function(event) {
28
        return event + '.dialog-overlay';
29
      }).join(' ');
26 30
  }
27 31
}(jQuery));

Formats disponibles : Unified diff