Fix JS error when in query window is not active SQL tab.
This commit is contained in:
@@ -8,6 +8,8 @@ $Source$
|
||||
2003-07-10 Michal Cihar <nijel@users.sourceforge.net>
|
||||
* lang/spanish: Updated, thanks to Daniel Hinostroza (dhinostroza).
|
||||
* lang/italian: Updated, thanks to Pietro Danesi (danone).
|
||||
* footer.inc.php3: Fix JS error when in query window is not active SQL
|
||||
tab.
|
||||
|
||||
2003-07-09 Michal Cihar <nijel@users.sourceforge.net>
|
||||
* libraries/auth/cookie.auth.lib.php3: Fixed broken login with backslash
|
||||
|
@@ -41,7 +41,7 @@ if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) {
|
||||
<?php
|
||||
if (!isset($error_message) || $error_message == '') {
|
||||
?>
|
||||
if (!parent.frames.queryframe.querywindow.document.sqlform.LockFromUpdate.checked) {
|
||||
if (parent.frames.queryframe.querywindow.document.sqlform.LockFromUpdate && !parent.frames.queryframe.querywindow.document.sqlform.LockFromUpdate.checked) {
|
||||
parent.frames.queryframe.querywindow.document.querywindow.db.value = "<?php echo (isset($db) ? addslashes($db) : '') ?>";
|
||||
parent.frames.queryframe.querywindow.document.querywindow.query_history_latest_db.value = "<?php echo (isset($db) ? addslashes($db) : '') ?>";
|
||||
parent.frames.queryframe.querywindow.document.querywindow.table.value = "<?php echo (isset($table) ? addslashes($table) : '') ?>";
|
||||
|
Reference in New Issue
Block a user