diff options
Diffstat (limited to 'rt/share/html/Ticket/Elements/ShowHistory')
-rwxr-xr-x | rt/share/html/Ticket/Elements/ShowHistory | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/rt/share/html/Ticket/Elements/ShowHistory b/rt/share/html/Ticket/Elements/ShowHistory index b5e009c34..909ea01ee 100755 --- a/rt/share/html/Ticket/Elements/ShowHistory +++ b/rt/share/html/Ticket/Elements/ShowHistory @@ -60,11 +60,12 @@ if ($ShowDisplayModes or $ShowTitle) { if ($ShowDisplayModes) { $titleright = ''; - my $open_all = $m->interp->apply_escapes( loc("Show all quoted text"), 'h' ); - my $close_all = $m->interp->apply_escapes( loc("Hide all quoted text"), 'h' ); + my $open_all = $m->interp->apply_escapes( loc("Show all quoted text"), 'j' ); + my $open_html = $m->interp->apply_escapes( loc("Show all quoted text"), 'h' ); + my $close_all = $m->interp->apply_escapes( loc("Hide all quoted text"), 'j' ); $titleright .= '<a href="#" data-direction="open" ' - . qq{onclick='return toggle_all_folds(this, "$open_all", "$close_all");'} - . ">$open_all</a> — "; + . qq{onclick="return toggle_all_folds(this, $open_all, $close_all);"} + . ">$open_html</a> — "; if ($ShowHeaders) { $titleright .= qq{<a href="$URIFile?id=} . |