Skip to content
Snippets Groups Projects
Commit a16c46bf authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #906922 by auzigog: error message icon is tiled for when the message...

- Patch #906922 by auzigog: error message icon is tiled for when the message appears on a batch page in place of a progress bar.
parent a7d43ead
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -96,7 +96,7 @@ Drupal.progressBar.prototype.sendPing = function () { ...@@ -96,7 +96,7 @@ Drupal.progressBar.prototype.sendPing = function () {
* Display errors on the page. * Display errors on the page.
*/ */
Drupal.progressBar.prototype.displayError = function (string) { Drupal.progressBar.prototype.displayError = function (string) {
var error = $('<div class="error"></div>').html(string); var error = $('<div class="messages error"></div>').html(string);
$(this.element).before(error).hide(); $(this.element).before(error).hide();
if (this.errorCallback) { if (this.errorCallback) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment