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

merge-requests/26/head
Dries Buytaert 2010-10-25 00:23:47 +00:00
parent e6385ee624
commit 14d19b22ca
1 changed files with 2 additions and 2 deletions

View File

@ -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;