- 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
a7d43eadae
commit
a16c46bf8a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue