Fixed a bug with our table widget toolbar not showing up with static data. Also fixed a race condition.
This commit is contained in:
parent
f94e462fe0
commit
01618b55af
2 changed files with 8 additions and 6 deletions
|
@ -57,7 +57,8 @@ var AIRTIME = (function (AIRTIME) {
|
|||
});
|
||||
|
||||
if (ids.length > 0) {
|
||||
// Bulk methods should use post because we're sending data in the request body
|
||||
// Bulk methods should use post because we're sending data in the request body. There is no standard
|
||||
// RESTful way to implement bulk actions, so this is how we do it:
|
||||
$.post(endpoint + "bulk", {csrf_token: $("#csrf").val(), method: method, ids: ids}, callback);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue