From 36a77f7476f6364a5e2dc60af766f799d6bc0c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Tue, 21 Feb 2023 12:09:27 -0300 Subject: [PATCH] Force a full page reload for top menu links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Each page is a different page, so it makes more sense to do a full page reload instead of using AJAX to load the main content. This also avoid some possible issues with broken event handlers and not properly loaded pages. Signed-off-by: MaurĂ­cio Meneghini Fauth --- templates/database/multi_table_query/form.twig | 4 ++-- templates/database/qbe/index.twig | 4 ++-- templates/preferences/header.twig | 16 ++++++++-------- templates/server/privileges/subnav.twig | 4 ++-- templates/server/status/base.twig | 12 ++++++------ templates/table/find_replace/index.twig | 6 +++--- templates/table/page_with_secondary_tabs.twig | 4 ++-- templates/table/search/index.twig | 6 +++--- templates/table/zoom_search/index.twig | 6 +++--- templates/top_menu.twig | 2 +- test/selenium/ServerSettingsTest.php | 2 -- test/selenium/Table/CreateTest.php | 6 +----- test/selenium/Table/OperationsTest.php | 2 -- test/selenium/TestBase.php | 5 ----- 14 files changed, 33 insertions(+), 46 deletions(-) diff --git a/templates/database/multi_table_query/form.twig b/templates/database/multi_table_query/form.twig index 94c2ae0b1a02..9197cac466c9 100644 --- a/templates/database/multi_table_query/form.twig +++ b/templates/database/multi_table_query/form.twig @@ -1,12 +1,12 @@