diff --git a/horizon/static/horizon/js/horizon.js b/horizon/static/horizon/js/horizon.js index d6b33b434..1f15fba9a 100644 --- a/horizon/static/horizon/js/horizon.js +++ b/horizon/static/horizon/js/horizon.js @@ -127,11 +127,11 @@ var Horizon = function() { $new_row.find(':checkbox').prop('checked', true); } $row.replaceWith($new_row); + // Reset decay constant. + $table.removeAttr('decay_constant'); } }, complete: function (jqXHR, textStatus) { - // Reset decay constant. - $table.removeAttr('decay_constant'); // Revalidate the button check for the updated table horizon.datatables.validate_button(); }