mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 06:37:15 +00:00
Fixed bun in terms management, where action_button was not bind in other dataTable pages
This commit is contained in:
parent
7763bfb4c7
commit
94e3034e7d
1 changed files with 11 additions and 0 deletions
|
@ -198,6 +198,9 @@
|
||||||
|
|
||||||
<!-- import graph function -->
|
<!-- import graph function -->
|
||||||
<script>
|
<script>
|
||||||
|
var table_track;
|
||||||
|
var table_black;
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
activePage = $('h1.page-header').attr('data-page');
|
activePage = $('h1.page-header').attr('data-page');
|
||||||
$("#"+activePage).addClass("active");
|
$("#"+activePage).addClass("active");
|
||||||
|
@ -207,6 +210,14 @@
|
||||||
table_track = $('#myTable').DataTable();
|
table_track = $('#myTable').DataTable();
|
||||||
table_black = $('#myTable2').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){
|
$("#followTermInput").keyup(function(event){
|
||||||
if(event.keyCode == 13){
|
if(event.keyCode == 13){
|
||||||
$("#followTermBtn").click();
|
$("#followTermBtn").click();
|
||||||
|
|
Loading…
Reference in a new issue