mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 11:04:02 +02:00
Deferred operations by AJAX instead of JS (doesn't require sending token)
This commit is contained in:
@@ -155,8 +155,6 @@ if ($_GET["ns"] !== "") {
|
||||
}
|
||||
|
||||
if ($tables_list) {
|
||||
page_footer();
|
||||
echo "<script type='text/javascript' src='" . h(ME . "script=db&token=$token") . "'></script>\n";
|
||||
exit; // page_footer() already called
|
||||
echo "<script type='text/javascript'>ajaxSetHtml('" . addcslashes(ME, "\\'/") . "script=db');</script>\n";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user