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
path: root/js
diff options
context:
space:
mode:
authorEdward Cheng <c4150221@gmail.com>2014-03-24 17:42:41 +0400
committerEdward Cheng <c4150221@gmail.com>2014-03-24 17:42:41 +0400
commitda3f959bf2e3ddb38a6135dcd5791b708ff6c10e (patch)
tree50f0f056817c012e8e5bed97ff371ed19e073124 /js
parent3092e99b87b2224b836808cf65da22a56675e547 (diff)
Bug fix: Redirect while timeout and expander clicked.
Signed-off-by: Edward Cheng <c4150221@gmail.com>
Diffstat (limited to 'js')
-rw-r--r--js/navigation.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/navigation.js b/js/navigation.js
index ff0cc57473..07f2874add 100644
--- a/js/navigation.js
+++ b/js/navigation.js
@@ -380,6 +380,9 @@ function loadChildNodes($expandElem, callback) {
if (callback && typeof callback == 'function') {
callback(data);
}
+ } else if(data.redirect_flag == "1") {
+ window.location.href += '&session_expired=1';
+ window.location.reload();
} else {
var $throbber = $expandElem.find('img.throbber');
$throbber.hide();