The branch, master has been updated via db07b65c657162ce04c50ec1164390f0fb68b905 (commit) from 41376df2b088a83778067d1f4f6e7c7669ab3561 (commit)
- Log ----------------------------------------------------------------- commit db07b65c657162ce04c50ec1164390f0fb68b905 Author: Piotr Przybylski piotrprz@gmail.com Date: Mon Jun 6 16:40:43 2011 +0200
Add missing 'server' argument to PMA_reloadRecentTable Was causing token regeneration on non-default servers, if the next action required valid token it would fail
-----------------------------------------------------------------------
Summary of changes: js/navigation.js | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/js/navigation.js b/js/navigation.js index 7f9a013..20aea18 100644 --- a/js/navigation.js +++ b/js/navigation.js @@ -171,13 +171,16 @@ function clear_fast_filter() { * Reloads the recent tables list. */ function PMA_reloadRecentTable() { - $.get('navigation.php', - { 'token' : window.parent.token, 'ajax_request' : true, 'recent_table' : true }, - function (data) { - if (data.success == true) { - $('#recentTable').html(data.options); - } - }); + $.get('navigation.php', { + 'token': window.parent.token, + 'server': window.parent.server, + 'ajax_request': true, + 'recent_table': true}, + function (data) { + if (data.success == true) { + $('#recentTable').html(data.options); + } + }); }
/* Performed on load */
hooks/post-receive