Commit 14d19b22 authored by Dries's avatar Dries
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
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment