1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-31 10:54:46 +03:00

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
This commit is contained in:
Piotr Przybylski
2011-06-06 16:40:43 +02:00
parent 41376df2b0
commit db07b65c65

View File

@@ -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 */