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:
authorAtul Pratap Singh <atulpratapsingh05@gmail.com>2015-07-09 08:02:55 +0300
committerAtul Pratap Singh <atulpratapsingh05@gmail.com>2015-07-09 08:02:55 +0300
commit9b101e2ab726b656337d3349af392b4c5c1bdc10 (patch)
tree86a41c99de35afc1af5f36b2325a60adafd7df22 /js/functions.js
parent0e31b6e24fb494eeb4ecf1ada6b9345ac884ca3f (diff)
Separate microhistory code conditionally
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
Diffstat (limited to 'js/functions.js')
-rw-r--r--js/functions.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/functions.js b/js/functions.js
index ee91aa4beb..092490daea 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -2812,7 +2812,9 @@ AJAX.registerOnload('functions.js', function () {
PMA_reloadNavigation();
// Redirect to table structure page on creation of new table
var params_12 = 'ajax_request=true&ajax_page_request=true';
- params_12 += AJAX.cache.menus.getRequestParam();
+ if (! (history && history.pushState)) {
+ params_12 += PMA_Microhistory.menus.getRequestParam();
+ }
tblStruct_url = 'tbl_structure.php?server=' + data._params.server +
'&db='+ data._params.db + '&token=' + data._params.token +
'&goto=db_structure.php&table=' + data._params.table + '';