Fix datatable var scope

This commit is contained in:
Calvo 2022-09-29 12:31:33 +02:00
parent 2855e6ac48
commit e2f4f4df34
1 changed files with 1 additions and 1 deletions

View File

@ -3655,7 +3655,7 @@ function ui_print_datatable(array $parameters)
order: [[ '.$order.' ]]
};
var dt_'.$table_id.' = $("#'.$table_id.'").DataTable(settings_datatable);
dt_'.$table_id.' = $("#'.$table_id.'").DataTable(settings_datatable);
$("#'.$form_id.'_search_bt").click(function (){
dt_'.$table_id.'.draw().page(0)