Disable hash loading code for now.
I'll try to fix this properly, but probably not earlier than on Monday.
This commit is contained in:
@@ -167,7 +167,9 @@ if (PMA_getenv('SCRIPT_NAME') && empty($_POST) && !$GLOBALS['checked_special'])
|
|||||||
echo '<div id="selflink" class="print_ignore">' . "\n";
|
echo '<div id="selflink" class="print_ignore">' . "\n";
|
||||||
$url_params['target'] = basename(PMA_getenv('SCRIPT_NAME'));
|
$url_params['target'] = basename(PMA_getenv('SCRIPT_NAME'));
|
||||||
/* Store current location in hash part of URL to allow direct bookmarking */
|
/* Store current location in hash part of URL to allow direct bookmarking */
|
||||||
echo '<script>parent.location.hash = "' . PMA_generate_common_url($url_params, 'text', '') . '";</script>';
|
// Disabled for now, causes infinite loop with some Chrome based browsers
|
||||||
|
// Should be converted to use mootools and onload event
|
||||||
|
//echo '<script>parent.location.hash = "' . PMA_generate_common_url($url_params, 'text', '') . '";</script>';
|
||||||
|
|
||||||
echo '<a href="index.php' . PMA_generate_common_url($url_params) . '"'
|
echo '<a href="index.php' . PMA_generate_common_url($url_params) . '"'
|
||||||
. ' title="' . $GLOBALS['strOpenNewWindow'] . '" target="_blank">';
|
. ' title="' . $GLOBALS['strOpenNewWindow'] . '" target="_blank">';
|
||||||
|
Reference in New Issue
Block a user