Projet

Général

Profil

Révision cee0424c

Ajouté par Assos Assos il y a plus de 3 ans

-a

Voir les différences:

drupal7/misc/ajax.js
149 149
  // The 'this' variable will not persist inside of the options object.
150 150
  var ajax = this;
151 151
  ajax.options = {
152
    url: ajax.url,
152
    url: Drupal.sanitizeAjaxUrl(ajax.url),
153 153
    data: ajax.submit,
154 154
    beforeSerialize: function (element_settings, options) {
155 155
      return ajax.beforeSerialize(element_settings, options);
......
195 195
      }
196 196
    },
197 197
    dataType: 'json',
198
    jsonp: false,
198 199
    type: 'POST'
199 200
  };
200 201

  

Formats disponibles : Unified diff