Fixed bun in terms management, where action_button was not bind in other dataTable pages

This commit is contained in:
Mokaddem 2016-11-10 15:53:22 +01:00
parent 7763bfb4c7
commit 94e3034e7d

View file

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