You've already forked oncall
mirror of
https://github.com/linkedin/oncall.git
synced 2025-11-30 23:44:59 +02:00
fix button not loading bug
This commit is contained in:
@@ -3010,7 +3010,7 @@ var oncall = {
|
||||
var error = oncall.isJson(data.responseText) ? JSON.parse(data.responseText).description : data.responseText || 'Delete failed.';
|
||||
oncall.alerts.createAlert(error, 'danger');
|
||||
}).always(function(){
|
||||
$cta.addClass('loading disabled').prop('disabled', false);
|
||||
$cta.removeClass('loading disabled').prop('disabled', false);
|
||||
});
|
||||
} else {
|
||||
$modal.modal('hide');
|
||||
|
||||
Reference in New Issue
Block a user