- Patch #647228 by sun: links are needlessly unable to fully participate in D7 AJAX framework features.
parent
e6385ee624
commit
14d19b22ca
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue