bug #1413880, page status not preserved on Refresh
This commit is contained in:
@@ -7,6 +7,8 @@ $Source$
|
|||||||
|
|
||||||
2006-03-04 Marc Delisle <lem9@users.sourceforge.net>
|
2006-03-04 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/swedish: Update, thanks to Björn T. Hallberg - bjornth.
|
* lang/swedish: Update, thanks to Björn T. Hallberg - bjornth.
|
||||||
|
* import.php, libraries/common.lib.php: bug #1413880, page status not
|
||||||
|
preserved on Refresh
|
||||||
|
|
||||||
2006-03-03 Michal Čihař <michal@cihar.com>
|
2006-03-03 Michal Čihař <michal@cihar.com>
|
||||||
* libraries/Theme_Manager.class.php: Fix include path (bug #1442008).
|
* libraries/Theme_Manager.class.php: Fix include path (bug #1442008).
|
||||||
|
@@ -399,8 +399,13 @@ if (isset($my_die)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($go_sql) {
|
if ($go_sql) {
|
||||||
// Set pos to zero to possibly append limit
|
if (isset($_GET['pos'])) {
|
||||||
$pos = 0;
|
// comes from the Refresh link
|
||||||
|
$pos = $_GET['pos'];
|
||||||
|
} else {
|
||||||
|
// Set pos to zero to possibly append limit
|
||||||
|
$pos = 0;
|
||||||
|
}
|
||||||
require('./sql.php');
|
require('./sql.php');
|
||||||
} else {
|
} else {
|
||||||
$active_page = $goto;
|
$active_page = $goto;
|
||||||
|
@@ -1583,6 +1583,7 @@ window.parent.updateTableTitle('<?php echo $uni_tbl; ?>', '<?php echo PMA_jsForm
|
|||||||
$refresh_link = 'import.php'
|
$refresh_link = 'import.php'
|
||||||
. $url_qpart
|
. $url_qpart
|
||||||
. '&show_query=1'
|
. '&show_query=1'
|
||||||
|
. (isset($_GET['pos']) ? '&pos=' . $_GET['pos'] : '')
|
||||||
. '&sql_query=' . urlencode($local_query);
|
. '&sql_query=' . urlencode($local_query);
|
||||||
$refresh_link = ' [' . PMA_linkOrButton($refresh_link, $GLOBALS['strRefresh']) . ']';
|
$refresh_link = ' [' . PMA_linkOrButton($refresh_link, $GLOBALS['strRefresh']) . ']';
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user