Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bestpractical/rt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsunnavy <sunnavy@bestpractical.com>2022-08-03 19:39:47 +0300
committersunnavy <sunnavy@bestpractical.com>2022-08-03 19:47:23 +0300
commitb4f65a887ee42f9bc2ade3da6800ad5eef61c56a (patch)
treed9c91bc2a58abad971ae6040b2512087a2ca541c
parent5442c3dd37a3618c2b71395b5864fef48ce7d6c8 (diff)
Remove the broken "hidden" class for initially rolled-up widgets5.0/fix-initially-rolled-up-widgets
The "hidden" class came from RT 4, as we migrated to bootstrap in RT 5, where the presence and absence of "show" class is used to toggle the visibility of widgets, the "hidden" class is not needed any more. Even worse, as the "hidden" class is not automatially removed on toggle, if widgets are initially rolled-up, they will never show up, like the "Scrips and Recipients" widget on ticket update page, when $SimplifiedRecipients is set to true.
-rw-r--r--share/html/Widgets/TitleBoxStart2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/html/Widgets/TitleBoxStart b/share/html/Widgets/TitleBoxStart
index eb2b033a6e..9936364ca3 100644
--- a/share/html/Widgets/TitleBoxStart
+++ b/share/html/Widgets/TitleBoxStart
@@ -62,7 +62,7 @@
<% $titleright %><% $titleright_raw |n%><% $titleright_href ? "</a>" : '' |n%>\
</span>
</div>
- <div class="titlebox-content collapse <% $bodyclass %><% $rolledup ? " hidden" : " show"%><% " $content_class" || '' %>" id="<% $tid %>">
+ <div class="titlebox-content collapse <% $bodyclass %><% $rolledup ? "" : " show"%><% " $content_class" || '' %>" id="<% $tid %>">
<div class="card-body">
<%ARGS>
$class => ''