Add edit mode to sync table on user page

This commit is contained in:
JonnyWong16 2018-02-19 09:11:35 -08:00
parent 36ff1fb674
commit bbc6482c99
3 changed files with 65 additions and 10 deletions

View file

@ -146,7 +146,7 @@ sync_table_options = {
}
};
$('#sync_table').on('click', 'td.delete-control > .edit-sync-toggles > button.delete-sync', function () {
$('.sync_table').on('click', 'td.delete-control > .edit-sync-toggles > button.delete-sync', function () {
var tr = $(this).parents('tr');
var row = sync_table.row(tr);
var rowData = row.data();