-
Problem report
-
Resolution: Fixed
-
Trivial
-
7.0.6
-
S25-W2/3, S25-W4/5
-
0.25
Broke after ZBX-24972.
Steps to reproduce:
Add URL into event menu using frontend module.
$main_block['data']['urls'][] = [
'label' => $grafana_dashboard_name,
'menu_path' => '',
'url' => $grafana_dashboard_url,
'target' => '_blank',
'confirmation' => '',
'rel' => 'noopener noreferrer'
];
Result:
'target' => '_blank' is ignored and the URL is opened in the same browser tab.
Expected:
The ability to open links in the same or a new browser tab depending on the needs and tasks of the user.
Temporarily fixed by adding
item.target = data.params.target;
to the /usr/share/zabbix/js/menupopup.js
- caused by
-
ZBX-24972 Map URLs cannot be openned in a new window
-
- Closed
-