diff --git a/files/index.php b/files/index.php index 89e7d354bb8..102316609b2 100644 --- a/files/index.php +++ b/files/index.php @@ -815,7 +815,7 @@ function displaydir ($wdir) { "zip" => "$strcreateziparchive" ); if (!empty($count)) { - choose_from_menu ($options, "action", "", "$strwithchosenfiles...", "javascript:document.dirform.submit()"); + choose_from_menu ($options, "action", "", "$strwithchosenfiles...", "javascript:getElementById('dirform').submit()"); } echo ""; echo ""; diff --git a/install.php b/install.php index fbb5e65d344..9802989d1fb 100644 --- a/install.php +++ b/install.php @@ -714,7 +714,7 @@ function form_table($nextstage = WELCOME, $formaction = "install.php") { if ($nextstage != DOWNLOADLANG) { $needtoopenform = false; ?> -