Znuny/Znuny LTS is a fork of the ((OTRS)) Community Edition, one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management.
When clicking on a ticket in the AgentTicketStatusView with Ctrl pressed, the following error message appears in the browser console:
Core.Agent.Overview.js:283 Uncaught TypeError: Core.UI.Popup.open is not a function
at HTMLTableRowElement.<anonymous> (Core.Agent.Overview.js:283:35)
at HTMLTableRowElement.dispatch (jquery.js:2:43064)
at v.handle (jquery.js:2:41048)
The problem seems to be related to a syntax error in Core.Agent.Overview.js:
if (Event.target !== $MasterActionLink.get(0)) {
if (Event.ctrlKey || Event.metaKey) {
Core.UI.Popup.open($MasterActionLink.attr('href')); <-- `here is the syntax error`
}
else {
window.location = $MasterActionLink.attr('href');
}
return false;
}
The syntax error apprears in all three views
Type of change
π bug π
Additional information
Steps to reproduce
Navigate to AgentTicketStatusView
Open the broweser console through DevTools
While holding Ctrl, left click on one of the displayed tickets
Observe the error message displayed in the browser console
Checklist
[x] The code change is tested and works locally.(β)
[x] There is no commented out code in this PR.(β)
[ ] You improved or added new unit tests.(β)
[ ] Local ZnunyCodePolicy passed.(β)
[ ] Local UnitTests / Selenium passed.(β)
[ ] GitHub workflow CI (UnitTests / Selenium) passed.(β)
Proposed change
When clicking on a ticket in the AgentTicketStatusView with Ctrl pressed, the following error message appears in the browser console:
The problem seems to be related to a syntax error in Core.Agent.Overview.js:
The syntax error apprears in all three views
Type of change
π bug π
Additional information
Steps to reproduce
Checklist