mirror of https://github.com/CIRCL/AIL-framework
Fixed bun in terms management, where action_button was not bind in other dataTable pages
parent
7763bfb4c7
commit
94e3034e7d
|
@ -198,6 +198,9 @@
|
|||
|
||||
<!-- import graph function -->
|
||||
<script>
|
||||
var table_track;
|
||||
var table_black;
|
||||
|
||||
$(document).ready(function(){
|
||||
activePage = $('h1.page-header').attr('data-page');
|
||||
$("#"+activePage).addClass("active");
|
||||
|
@ -207,6 +210,14 @@
|
|||
table_track = $('#myTable').DataTable();
|
||||
table_black = $('#myTable2').DataTable();
|
||||
|
||||
table_track.on( 'draw.dt', function () {
|
||||
perform_binding();
|
||||
});
|
||||
table_black.on( 'draw.dt', function () {
|
||||
perform_binding();
|
||||
});
|
||||
|
||||
|
||||
$("#followTermInput").keyup(function(event){
|
||||
if(event.keyCode == 13){
|
||||
$("#followTermBtn").click();
|
||||
|
|
Loading…
Reference in New Issue