mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 00:54:08 +02:00
Deferred operations by AJAX instead of JS (doesn't require sending token)
This commit is contained in:
@@ -45,7 +45,7 @@ function connect_error() {
|
||||
}
|
||||
page_footer("db");
|
||||
if ($databases) {
|
||||
echo "<script type='text/javascript' src='" . h(ME . "script=connect&token=$token") . "'></script>\n";
|
||||
echo "<script type='text/javascript'>ajaxSetHtml('" . addcslashes(ME, "\\'/") . "script=connect');</script>\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user