1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-05 14:17:26 +02:00

Trigger script=db sooner

This commit is contained in:
Jakub Vrana
2025-06-25 17:14:43 +02:00
parent 1fc5acb389
commit cfd69dfd8c

View File

@@ -124,6 +124,8 @@ if (adminer()->homepage()) {
echo "\n";
}
echo script("ajaxSetHtml('" . js_escape(ME) . "script=db');");
echo "<tr><td><th>" . lang('%d in total', count($tables_list));
echo "<td>" . h(JUSH == "sql" ? get_val("SELECT @@default_storage_engine") : "");
echo "<td>" . h(db_collation(DB, collations()));
@@ -241,9 +243,5 @@ if (adminer()->homepage()) {
}
echo '<p class="links"><a href="' . h(ME) . 'event=">' . lang('Create event') . "</a>\n";
}
if ($tables_list) {
echo script("ajaxSetHtml('" . js_escape(ME) . "script=db');");
}
}
}