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

- Patch #647228 by sun: links are needlessly unable to fully participate in D7...

- Patch #647228 by sun: links are needlessly unable to fully participate in D7 AJAX framework features.
parent e6385ee6
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
......@@ -280,7 +280,7 @@ Drupal.ajax.prototype.success = function (response, status) {
if (this.progress.object) {
this.progress.object.stopMonitoring();
}
$(this.element).removeClass('progress-disabled').attr('disabled', false);
$(this.element).removeClass('progress-disabled').removeAttr('disabled');
Drupal.freezeHeight();
......@@ -348,7 +348,7 @@ Drupal.ajax.prototype.error = function (response, uri) {
// Undo hide.
$(this.wrapper).show();
// Re-enable the element.
$(this.element).removeClass('progress-disabled').attr('disabled', false);
$(this.element).removeClass('progress-disabled').removeAttr('disabled');
// Reattach behaviors, if they were detached in beforeSerialize().
if (this.form) {
var settings = response.settings || this.settings || Drupal.settings;
......
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