Révision b0dc3a2e
Ajouté par Julien Enselme il y a plus de 7 ans
drupal7/misc/ajax.js | ||
---|---|---|
476 | 476 |
* Handler for the form redirection error. |
477 | 477 |
*/ |
478 | 478 |
Drupal.ajax.prototype.error = function (xmlhttprequest, uri, customMessage) { |
479 |
alert(Drupal.ajaxError(xmlhttprequest, uri, customMessage));
|
|
479 |
Drupal.displayAjaxError(Drupal.ajaxError(xmlhttprequest, uri, customMessage));
|
|
480 | 480 |
// Remove the progress element. |
481 | 481 |
if (this.progress.element) { |
482 | 482 |
$(this.progress.element).remove(); |
Formats disponibles : Unified diff
Update to Drupal 7.52