Skip to content

Commit

Permalink
add "adm_"-prefix to table ids
Browse files Browse the repository at this point in the history
  • Loading branch information
MightyMCoder committed Jan 29, 2025
1 parent 1ac7b12 commit 4dcc5d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adm_program/system/classes/ModuleDocumentsFiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function createContentList()
}

// initialize and set the parameter for DataTables
$dataTables = new HtmlDataTables($this, 'documents_files_table');
$dataTables = new HtmlDataTables($this, 'adm_documents_files_table');
$dataTables->disableDatatablesColumnsSort(array(1, 6));
$dataTables->setDatatablesColumnsNotHideResponsive(array(6));
$dataTables->createJavascript(count($this->data), 6);
Expand Down
2 changes: 1 addition & 1 deletion adm_program/system/classes/ModuleGroupsRoles.php
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ public function createContentPermissionsList()
}

// initialize and set the parameter for DataTables
$dataTables = new HtmlDataTables($this, 'role_permissions_table');
$dataTables = new HtmlDataTables($this, 'adm_role_permissions_table');
$dataTables->setDatatablesGroupColumn(1);
$dataTables->disableDatatablesColumnsSort(array(3, 8));
$dataTables->setDatatablesColumnsNotHideResponsive(array(8));
Expand Down

0 comments on commit 4dcc5d4

Please sign in to comment.