diff options
author | Janis Freibergs <janis.freibergs@zabbix.com> | 2022-01-24 13:50:35 +0300 |
---|---|---|
committer | Janis Freibergs <janis.freibergs@zabbix.com> | 2022-01-24 13:50:35 +0300 |
commit | daa480990f59492c3d83390fcde952d1b6b0ea42 (patch) | |
tree | 8659beda7a9a23a0cc0f4171e7bec849216ec969 /ui | |
parent | d75bae7de20027bba99e4625b14f457f6d5dd9f6 (diff) |
..F....... [ZBX-20359] fixed export on Monitoring Problems page getting out of sync with filter
Diffstat (limited to 'ui')
-rw-r--r-- | ui/js/init.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/js/init.js b/ui/js/init.js index dfd750f7d03..e9b820bcaf8 100644 --- a/ui/js/init.js +++ b/ui/js/init.js @@ -372,10 +372,10 @@ jQuery(function($) { // redirect buttons $('button[data-url]').click(function() { var button = $(this); - var confirmation = button.data('confirmation'); + var confirmation = button.attr('data-confirmation'); if (typeof confirmation === 'undefined' || (typeof confirmation !== 'undefined' && confirm(confirmation))) { - window.location = button.data('url'); + window.location = button.attr('data-url'); } }); |