Fixed a bug with our table widget toolbar not showing up with static data. Also fixed a race condition.

This commit is contained in:
Albert Santoni 2015-10-22 14:28:12 -04:00
parent f94e462fe0
commit 01618b55af
2 changed files with 8 additions and 6 deletions

View file

@ -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);
}
}