Bug - Regression: "From" and "To" can not be expanded if an article is loaded after opening TIcketZoom #605
Labels
1 - 🐞 bug 🐞
An issue with the system.
4 - internal Issue/MR
4 - verified
This issue or pull request was verified.
Environment
Expected behavior
Clicking on "From" and "To" in an article should expand the full mail address, i.e.:
should be expanded to:
(and unexpanded again when clicking again).
Actual behavior
This works if a ticket is visited directly, i.e.:
https://someserver.example.com/znuny/index.pl?Action=AgentTicketZoom;TicketID=1234
but fails either if:
https://someserver.example.com/znuny/index.pl?Action=AgentTicketZoom;TicketID=1234#2345
How to reproduce
Steps to reproduce the behavior:
Additional information
This is a regression caused by:
4f3baef
which adapted the template to use
div
instead ofp
, but only adapted the javascript code in:Znuny/var/httpd/htdocs/js/Core.Agent.TicketZoom.js
Lines 787 to 790 in 86309bb
(i.e.
Init
ofCore.Agent.TicketZoom
), but not in:Znuny/var/httpd/htdocs/js/Core.Agent.TicketZoom.js
Lines 213 to 216 in 86309bb
(i.e.
LoadArticle
ofCore.Agent.TicketZoom
).Adapting the second location should fix the problem 😉 .
The text was updated successfully, but these errors were encountered: