Remove .js extension from tbl_relation.php related files for dynamic loading.
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
This commit is contained in:
parent
d521643f7d
commit
8ac17c037e
@ -35,7 +35,7 @@ const PhpToJsFileMapping = {
|
||||
db_import: ['import'],
|
||||
tbl_structure: ['tbl_structure'],
|
||||
tbl_indexes: [],
|
||||
tbl_relation: [],
|
||||
tbl_relation: ['tbl_relation'],
|
||||
tbl_replace: []
|
||||
};
|
||||
|
||||
@ -68,7 +68,8 @@ const JsFileList = [
|
||||
'db_tracking',
|
||||
'db_central_columns',
|
||||
'indexes',
|
||||
'tbl_structure'
|
||||
'tbl_structure',
|
||||
'tbl_relation'
|
||||
];
|
||||
|
||||
export {
|
||||
|
||||
@ -120,7 +120,7 @@ class TableRelationController extends TableController
|
||||
|
||||
$this->response->getHeader()->getScripts()->addFiles(
|
||||
[
|
||||
'tbl_relation.js',
|
||||
'tbl_relation',
|
||||
'indexes'
|
||||
]
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user