diff --git a/libraries/db_events.inc.php b/libraries/db_events.inc.php
index c1238a3f6a..a18bafc663 100644
--- a/libraries/db_events.inc.php
+++ b/libraries/db_events.inc.php
@@ -19,6 +19,21 @@ if ($GLOBALS['cfg']['AjaxEnable']) {
$conditional_class_export = 'class="export_event_anchor"';
}
+/**
+ * Display the export for a event. This is for when JS is disabled.
+ */
+if (! empty($_GET['exportevent']) && ! empty($_GET['eventname'])) {
+ if ($create_event = PMA_DBI_get_definition($db, 'EVENT', $_GET['eventname'])) {
+ echo '
';
+ }
+}
+
+/**
+ * Display a list of available events
+ */
echo '