adds include variable tabulator5JQuery to FHC-Common.php

This commit is contained in:
SimonGschnell
2024-03-07 11:46:05 +01:00
parent 464799d22b
commit 7eda02f366
3 changed files with 4 additions and 1 deletions
@@ -23,6 +23,7 @@
$tablesorter2 = isset($tablesorter2) ? $tablesorter2 : false;
$tabulator4 = isset($tabulator4) ? $tabulator4 : false;
$tabulator5 = isset($tabulator5) ? $tabulator5 : false;
$tabulator5JQuery = isset($tabulator5JQuery) ? $tabulator5JQuery : false;
$tinymce3 = isset($tinymce3) ? $tinymce3 : false;
$tinymce5 = isset($tinymce5) ? $tinymce5 : false;
$vue3 = isset($vue3) ? $vue3 : false;
+1 -1
View File
@@ -99,7 +99,7 @@
// Tabulator 5 JS
if ($tabulator5 === true) generateJSsInclude('vendor/olifolkerd/tabulator5/dist/js/tabulator.min.js');
// Tabulator 5 JQuery
if ($tabulator5JQuery === true) generateJSsInclude('vendor/olifolkerd/tabulator5/dist/js/jquery_wrapper.js');
// Tinymce 3 JS
if ($tinymce3 === true) generateJSsInclude('include/tiny_mce/tiny_mce.js');
+2
View File
@@ -562,6 +562,8 @@ var FHC_TableWidget = {
// Renders the tabulator
tableWidgetDiv.find("#tableWidgetTabulator").tabulator(options);
tableWidgetDiv.find("#tableWidgetTabulator").tabulator("on","tableBuilt",()=>{console.log("table build")});
}
}