Commit 26cdd23
committed
Tweak the behavior of "Jump to Unread" links for clicked history
Instead of adding "ForceShowHistory=1" to the URL (which would reload the
entire page), this commit tweaked the behavior to implicitly trigger the
"Show ticket history" link, which only updates the history widget.
Since we now find and scroll to the anchor after every htmx load, the
"anchor scroll" code in ClickToShowHistory is no longer needed.1 parent f8d149c commit 26cdd23
File tree
4 files changed
+11
-13
lines changed4 files changed
+11
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
424 | 423 | | |
425 | 424 | | |
426 | 425 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 58 | + | |
66 | 59 | | |
67 | 60 | | |
68 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 59 | | |
63 | 60 | | |
64 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1804 | 1804 | | |
1805 | 1805 | | |
1806 | 1806 | | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
1807 | 1811 | | |
1808 | 1812 | | |
1809 | 1813 | | |
| |||
1814 | 1818 | | |
1815 | 1819 | | |
1816 | 1820 | | |
1817 | | - | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
1818 | 1827 | | |
1819 | 1828 | | |
1820 | 1829 | | |
| |||
0 commit comments