Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiyush Vijay <piyushvijay.1997@gmail.com>2018-08-02 00:36:18 +0300
committerPiyush Vijay <piyushvijay.1997@gmail.com>2018-08-19 11:14:00 +0300
commit302eaf576775addd5ec63f9981a0cb30b1cb6b52 (patch)
tree267f9abfbdf95ccbc3656f559680d5b24e2c4396
parentdcad9d0c791b4e40b9a58ec70b1db412dced4bf7 (diff)
Remove .js extention from tbl_operations.php file to allow dynamic import.
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
-rw-r--r--js/src/consts/files.js6
-rw-r--r--tbl_operations.php2
2 files changed, 5 insertions, 3 deletions
diff --git a/js/src/consts/files.js b/js/src/consts/files.js
index 71a6fa22f0..8e84e1d839 100644
--- a/js/src/consts/files.js
+++ b/js/src/consts/files.js
@@ -37,7 +37,8 @@ const PhpToJsFileMapping = {
tbl_indexes: [],
tbl_relation: ['tbl_relation'],
tbl_replace: [],
- tbl_chart: ['tbl_chart']
+ tbl_chart: ['tbl_chart'],
+ tbl_operations: ['tbl_operations']
};
const JsFileList = [
@@ -71,7 +72,8 @@ const JsFileList = [
'indexes',
'tbl_structure',
'tbl_relation',
- 'tbl_chart'
+ 'tbl_chart',
+ 'tbl_operations'
];
export {
diff --git a/tbl_operations.php b/tbl_operations.php
index c79c70c068..03acf5b47f 100644
--- a/tbl_operations.php
+++ b/tbl_operations.php
@@ -34,7 +34,7 @@ $pma_table = new Table($GLOBALS['table'], $GLOBALS['db']);
$response = Response::getInstance();
$header = $response->getHeader();
$scripts = $header->getScripts();
-$scripts->addFile('tbl_operations.js');
+$scripts->addFile('tbl_operations');
/**
* Runs common work