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-07-29 23:57:50 +0300
committerPiyush Vijay <piyushvijay.1997@gmail.com>2018-08-17 11:25:25 +0300
commitbfc9d62d4350523c066ceed21659a7ac208ac24c (patch)
tree77bc32d01637e11b908d31652758e52791d4b2fc
parentb8bbd8655852081b8b773eff658a65ffdffc16ca (diff)
Replace .js extension from db_export and db_import.
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
-rw-r--r--db_export.php2
-rw-r--r--db_import.php2
-rw-r--r--js/src/consts/files.js4
3 files changed, 5 insertions, 3 deletions
diff --git a/db_export.php b/db_export.php
index ffba3fb7a7..45a3ddcad2 100644
--- a/db_export.php
+++ b/db_export.php
@@ -24,7 +24,7 @@ PageSettings::showGroup('Export');
$response = Response::getInstance();
$header = $response->getHeader();
$scripts = $header->getScripts();
-$scripts->addFile('export.js');
+$scripts->addFile('export');
$export = new Export();
diff --git a/db_import.php b/db_import.php
index 567034076a..70a9312107 100644
--- a/db_import.php
+++ b/db_import.php
@@ -18,7 +18,7 @@ PageSettings::showGroup('Import');
$response = Response::getInstance();
$header = $response->getHeader();
$scripts = $header->getScripts();
-$scripts->addFile('import.js');
+$scripts->addFile('import');
$import = new Import();
diff --git a/js/src/consts/files.js b/js/src/consts/files.js
index 0ea3c6c690..6526284dfc 100644
--- a/js/src/consts/files.js
+++ b/js/src/consts/files.js
@@ -30,7 +30,9 @@ const PhpToJsFileMapping = {
db_structure: ['db_structure'],
db_operations: ['db_operations'],
db_tracking: ['db_tracking'],
- db_central_columns: ['db_central_columns']
+ db_central_columns: ['db_central_columns'],
+ db_export: ['export'],
+ db_import: ['import']
};
const JsFileList = [