diff --git a/ChangeLog b/ChangeLog index bb899baab..7f39eff89 100755 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,8 @@ $Source$ * Documentation.html: updated style config option descriptions * libraries/common.lib.php: added PMA_escapeJsString() to escape strings for JavaScript inside CDATA blocks + * libraries/footer.inc.php: correctly escape strings inside JavaScript + (part of bug #1532721) 2006-08-01 Marc Delisle * Documentation.html: patch #1532493 + light editing from me, diff --git a/libraries/footer.inc.php b/libraries/footer.inc.php index 09e28efb0..285da4c56 100644 --- a/libraries/footer.inc.php +++ b/libraries/footer.inc.php @@ -25,7 +25,12 @@ if (! isset($GLOBALS['no_history']) && isset($GLOBALS['db']) $table = isset($GLOBALS['table']) ? $GLOBALS['table'] : ''; ?> // updates current settings if (window.parent.setAll) { - window.parent.setAll('', '', '', '', ''); + window.parent.setAll(''); } @@ -54,9 +59,9 @@ if (! isset($GLOBALS['no_history']) && empty($GLOBALS['error_message'])) { // set current db, table and sql query in the querywindow if (window.parent.refreshNavigation) { window.parent.reload_querywindow( - "", - "", - ""); + '', + '', + ''); }