bug 1365503

This commit is contained in:
Marc Delisle
2005-11-24 14:50:54 +00:00
parent e201cdf3dc
commit 886e0f0dac
2 changed files with 8 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2005-11-24 Marc Delisle <lem9@users.sourceforge.net>
* js/querywindow.js: bug #1365503, "do not overwrite this query"
2005-11-24 Michal Čihař <michal@cihar.com>
* libraries/header_http.inc.php, libraries/header_meta_style.inc.php: Fix
XSS on some libraries (CVE-2005-3665).

View File

@@ -144,10 +144,14 @@ function open_querywindow( url ) {
}
function refreshQuerywindow( url ) {
if ( ! querywindow.closed && querywindow.location ) {
if ( ! querywindow.document.sqlform.LockFromUpdate
|| ! querywindow.document.sqlform.LockFromUpdate.checked ) {
open_querywindow( url )
}
}
}
/**
* opens new url in target frame, with default beeing left frame