move E-Mail to Junk in Panel does not work
Summary
When selecting something in the dropdown on ISPConfig Panel "email / email account / email filter / move spam to junk folder" following happens:
Panel-tab gets refreshed when selecting another "move spam to junk folder" option. Using firefox inspector, it states "tab change interrupted, request still running".
Steps to reproduce
- Go on the Panel
- click E-Mail
- click E-Mail Account
- Select Tab: E-Mail filter
- Select the "move spam to junk folder" and chose any other option
Correct behaviour
It should select another option instead of refreshing the tab.
Environment
Server OS + version: Debian 11.2
ISPConfig version: 3.2.7p1
Software version of the related software:
nginx version: nginx/1.18.0
PHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.28, Copyright (c), by Zend Technologies
Proposed fix
at /usr/local/ispconfig/interface/web/mail/templates/mail_user_filter_list.htm remove this onclick attribut
onclick="return ISPConfig.changeTab('filter_records','mail/mail_user_edit.php');"