Add edit mode to sync table on user page

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

View file

@ -44,7 +44,7 @@
</div>
</div>
<div class='table-card-back'>
<table class="display" id="sync_table" width="100%">
<table class="display sync_table" id="sync_table" width="100%">
<thead>
<tr>
<th align="left" id="delete_row">Delete</th>
@ -161,7 +161,7 @@
}
});
});
sync_table.draw();
sync_table.ajax.reload();
});
}
@ -182,7 +182,7 @@
});
$("#refresh-syncs-list").click(function() {
sync_table.draw();
sync_table.ajax.reload();
});
</script>
</%def>