bug #1436279 Left frame links open in new windows in Safari

This commit is contained in:
Sebastian Mendel
2006-02-22 07:56:42 +00:00
parent 56a0ec9638
commit 9290eff347
2 changed files with 12 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2006-02-22 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/footer.inc.php:
bug #1436279 Left frame links open in new windows in Safari
2006-02-21 Michal Čihař <michal@cihar.com>
* scripts/setup.php:
- Various bug fixes (bug #1435700, bug #1435806, undefined indexes).

View File

@@ -63,7 +63,14 @@ if (parent.querywindow && !parent.querywindow.closed && parent.querywindow.locat
// reset content frame name, as querywindow needs to set a unique name
// before submitting form data, and navigation frame needs the original name
window.parent.frames[1].name = 'frame_content';
if (window.parent.frames[1].name != 'frame_content') {
window.parent.frames[1].name = 'frame_content';
}
if (window.parent.frames[1].id != 'frame_content') {
window.parent.frames[1].id = 'frame_content';
}
//window.parent.frames[1].setAttribute('name', 'frame_content');
//window.parent.frames[1].setAttribute('id', 'frame_content');
//]]>
</script>
<?php