Re-activating button in case of failure

master
davide 6 years ago
parent 5da9712276
commit ae96e7457c

@ -263,7 +263,9 @@ function octopartFetch(){
$('#description-input').val('');
$('#description-input').attr('placeholder', json['result']);
}
});
}).fail(function() {
$('#magic-autofill-button').removeAttr('disabled');
});
}
$(document).ready(function() {

Loading…
Cancel
Save