Skip to content

Instantly share code, notes, and snippets.

@guntiss
guntiss / menupopup.patch
Last active April 1, 2022 19:40
Zabbix 5.2 patch to open Map URLs in blank page
Backup original file:
$ cp /usr/share/zabbix/js/menupopup.js /usr/share/zabbix/js/menupopup.js.original
Apply patch:
$ patch -i menupopup.patch /usr/share/zabbix/js/menupopup.js
Generate this patch file or compare with original:
$ git diff /usr/share/zabbix/js/menupopup.js.original /usr/share/zabbix/js/menupopup.js
--- a/usr/share/zabbix/js/menupopup.js.original