patch #1837691 [query window] js errors, thanks to Victor Volkov

This commit is contained in:
Marc Delisle
2007-11-26 21:44:00 +00:00
parent c6538cdb77
commit 7bb8eddf27
2 changed files with 8 additions and 5 deletions

View File

@@ -45,6 +45,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- undefined PMA_MYSQL_INT_VERSION when no default server is set - undefined PMA_MYSQL_INT_VERSION when no default server is set
- bug #1763343 [session] Behavior with session.auto_start enabled - bug #1763343 [session] Behavior with session.auto_start enabled
+ [lang] Hungarian update, thanks to Mihály Mészáros + [lang] Hungarian update, thanks to Mihály Mészáros
- patch #1837691 [query window] js errors, thanks to Victor Volkov
2.11.2.2 (2007-11-20) 2.11.2.2 (2007-11-20)
- bug #1835123 [security] fixed XSS vulnerability on login page, - bug #1835123 [security] fixed XSS vulnerability on login page,

View File

@@ -184,11 +184,13 @@ if (PMA_isValid($_REQUEST['init'])) {
); );
} }
// always set focus to the textarea // always set focus to the textarea
$js_events[] = array( if ($querydisplay_tab == 'sql' || $querydisplay_tab == 'full') {
$js_events[] = array(
'object' => 'window', 'object' => 'window',
'event' => 'load', 'event' => 'load',
'function' => 'PMA_querywindowSetFocus', 'function' => 'PMA_querywindowSetFocus',
); );
}
/** /**
* start HTTP/HTML output * start HTTP/HTML output