Projet

Général

Profil

Révision 134c7813

Ajouté par Mathieu Schiano Di Schiabica il y a environ 8 ans

Update to 7.43

Voir les différences:

drupal7/modules/system/system.js
105 105
          // Attach keyup handler to custom format inputs.
106 106
          $('input' + source, context).once('date-time').keyup(function () {
107 107
            var input = $(this);
108
            var url = fieldSettings.lookup + (/\?q=/.test(fieldSettings.lookup) ? '&format=' : '?format=') + encodeURIComponent(input.val());
108
            var url = fieldSettings.lookup + (/\?/.test(fieldSettings.lookup) ? '&format=' : '?format=') + encodeURIComponent(input.val());
109 109
            $.getJSON(url, function (data) {
110 110
              $(suffix).empty().append(' ' + fieldSettings.text + ': <em>' + data + '</em>');
111 111
            });

Formats disponibles : Unified diff