diff options
author | Edward Cheng <c4150221@gmail.com> | 2014-03-24 17:42:41 +0400 |
---|---|---|
committer | Edward Cheng <c4150221@gmail.com> | 2014-03-24 17:42:41 +0400 |
commit | da3f959bf2e3ddb38a6135dcd5791b708ff6c10e (patch) | |
tree | 50f0f056817c012e8e5bed97ff371ed19e073124 /js | |
parent | 3092e99b87b2224b836808cf65da22a56675e547 (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.js | 3 |
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(); |