Projet

Général

Profil

Révision 7547bb19

Ajouté par Assos Assos il y a environ 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/themes/bootstrap/js/misc/autocomplete.js
31 31
 * and closes the suggestions popup when doing so.
32 32
 */
33 33
Drupal.autocompleteSubmit = function () {
34
  return $('.form-autocomplete > .dropdown').each(function () {
34
  $('.form-autocomplete > .dropdown').each(function () {
35 35
    this.owner.hidePopup();
36
  }).length == 0;
36
  });
37

  
38
  // Always return true to make it possible to submit even when there was an
39
  // autocomplete suggestion list open.
40
    return true;
37 41
};
38 42

  
39 43
/**

Formats disponibles : Unified diff