fix ajax row update polling decay,
it stopped working because decay_constant is removed on each ajax complete instead of removing it on valid row update * fix bug 962732 Change-Id: I419eb82f4e2c3c1fcce980c616d71d5da7b7b099
This commit is contained in:
parent
325414ccb1
commit
f65b68bfd1
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user