";
hidden_fields($_POST, array("driver", "server", "username", "password", "permanent")); // expired session
diff --git a/adminer/include/design.inc.php b/adminer/include/design.inc.php
index e0580091..903c12fb 100644
--- a/adminer/include/design.inc.php
+++ b/adminer/include/design.inc.php
@@ -32,7 +32,7 @@ function page_header($title, $error = "", $breadcrumb = array(), $title2 = "") {
- onclick="return bodyClick(event, '', '');" onload="bodyLoad('server_info, 0, 3) : ""); ?>', '');">
+');" onload="bodyLoad('server_info, 0, 3) : ""); ?>', '');">
diff --git a/adminer/static/editing.js b/adminer/static/editing.js
index 9ef3e45f..a18fa31e 100644
--- a/adminer/static/editing.js
+++ b/adminer/static/editing.js
@@ -399,16 +399,3 @@ function schemaMouseup(ev) {
cookie('adminer_schema=' + encodeURIComponent(s.substr(1)), 30, '; path="' + location.pathname + location.search + '"');
}
}
-
-
-
-/** Stop event propagation
-* @param Event
-*/
-function eventStop(event) {
- if (event.stopPropagation) {
- event.stopPropagation();
- } else {
- event.cancelBubble = true;
- }
-}
diff --git a/adminer/static/functions.js b/adminer/static/functions.js
index 96058c42..d443916d 100644
--- a/adminer/static/functions.js
+++ b/adminer/static/functions.js
@@ -393,3 +393,14 @@ function bodyClick(event, db, ns) {
}
return true;
}
+
+/** Stop event propagation
+* @param Event
+*/
+function eventStop(event) {
+ if (event.stopPropagation) {
+ event.stopPropagation();
+ } else {
+ event.cancelBubble = true;
+ }
+}
diff --git a/editor/include/adminer.inc.php b/editor/include/adminer.inc.php
index 85fc5a5b..07e99932 100644
--- a/editor/include/adminer.inc.php
+++ b/editor/include/adminer.inc.php
@@ -479,7 +479,7 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5
foreach ((array) $_SESSION["pwds"]["server"][""] as $username => $password) {
if (isset($password)) {
if ($first) {
- echo "
\n";
+ echo "
\n";
$first = false;
}
echo "" . ($username != "" ? h($username) : "" . lang('empty') . "") . "
\n";