Add group delete feature to history table

* This helps to prevent accidental row deletes
This commit is contained in:
Jonathan Wong 2015-08-23 15:27:36 -07:00
commit 7ba6d704cd
4 changed files with 70 additions and 22 deletions

View file

@ -97,7 +97,6 @@
users_to_purge.push($(this).attr('data-id'));
ul.append('<li>' + $('div[data-id=' + $(this).attr('data-id') + '] > input').val() + '</li>')
});
console.log(users_to_purge);
if (users_to_purge.length > 0) {
$('#users-to-delete').append
$('#confirm-modal').modal();