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.
Popup profile top, left, width and height parameter values should be interpreted by JS as numbers not strings (left popup value was contcatenation not sum of window.screen.left and PopupProfiles[PopupProfile].Left and was producing wrong popup positioning).
Popup positioning on dual monitor setup in Firefox was broken because screenX returns position on spanned screen not current screen and according to
window.screen.top and window.screen.left are non-standard/obsolete and should be avoided.
This fixes these positioning problems.
There is no point in displaying Popup Profile in agent preferences by default (may be helpful for debugging only) because it's now automatically updated on popup resize so it's hidden now by default.
Type of change
'1 - 🐞 bug 🐞' - Bugfix (non-breaking change which fixes an issue)
Proposed change
Popup profile
top
,left
,width
andheight
parameter values should be interpreted by JS as numbers not strings (left
popup value was contcatenation not sum ofwindow.screen.left
andPopupProfiles[PopupProfile].Left
and was producing wrong popup positioning).Popup positioning on dual monitor setup in Firefox was broken because
screenX
returns position on spanned screen not current screen and according tohttps://developer.mozilla.org/en-US/docs/Web/API/Screen/top https://developer.mozilla.org/en-US/docs/Web/API/Screen/left
window.screen.top
andwindow.screen.left
are non-standard/obsolete and should be avoided.This fixes these positioning problems.
There is no point in displaying
Popup Profile
in agent preferences by default (may be helpful for debugging only) because it's now automatically updated on popup resize so it's hidden now by default.Type of change
Additional information
Fixes: a20eddf94b64dc30ecf92910fb7bc4b16c4cf612 Related: https://github.com/znuny/Znuny/issues/432 Author-Change-Id: IB#1133822
Checklist