From eeab367b79b28cb71ea86845b4e77438d5fc3d21 Mon Sep 17 00:00:00 2001 From: Merci Jacob <68013195+jacob-js@users.noreply.github.com> Date: Mon, 18 Nov 2024 21:40:43 +0200 Subject: [PATCH] Revert "Fixed tag display content" (#1365) --- modules/core/js_modules/Hm_MessagesStore.js | 6 +- modules/core/output_modules.php | 2 +- modules/core/site.css | 2 +- modules/imap/functions.php | 72 +++++++++---------- modules/imap/site.js | 4 +- modules/sievefilters/modules.php | 1 + modules/tags/modules.php | 9 ++- tests/phpunit/modules/core/output_modules.php | 2 +- 8 files changed, 46 insertions(+), 52 deletions(-) diff --git a/modules/core/js_modules/Hm_MessagesStore.js b/modules/core/js_modules/Hm_MessagesStore.js index 6b2da16c5..145235377 100644 --- a/modules/core/js_modules/Hm_MessagesStore.js +++ b/modules/core/js_modules/Hm_MessagesStore.js @@ -144,7 +144,6 @@ class Hm_MessagesStore { let hook; let serverId; let folder; - let tag_id; const config = []; if (this.path.startsWith('imap')) { hook = "ajax_imap_folder_display"; @@ -165,7 +164,7 @@ class Hm_MessagesStore { break; case 'tag': hook = "ajax_imap_tag_data"; - tag_id = getParam('tag_id'); + folder = getParam('tag_id'); break; default: hook = "ajax_imap_folder_data"; @@ -182,9 +181,6 @@ class Hm_MessagesStore { if (folder) { config.push({ name: "folder", value: folder }); } - if (tag_id) { - config.push({ name: "tag_id", value: tag_id }); - } return config; } diff --git a/modules/core/output_modules.php b/modules/core/output_modules.php index 2ed2a8a2c..cbdb3ea13 100644 --- a/modules/core/output_modules.php +++ b/modules/core/output_modules.php @@ -1558,7 +1558,7 @@ class Hm_Output_settings_site_link extends Hm_Output_Module { * Outputs links to the Site Settings pages */ protected function output() { - $res = '