]> git.agnieray.net Git - galette.git/commitdiff
Prevent telemetry data to be displayed twice in modal
authorJohan Cwiklinski <johan@x-tnd.be>
Thu, 26 Oct 2023 20:56:03 +0000 (22:56 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Thu, 26 Oct 2023 20:58:06 +0000 (22:58 +0200)
galette/templates/default/modals/telemetry.html.twig

index b0bcb07d779c3d12f0245bb17419ed9dccd5b123..1289024c884836d232426cf35e21b62cf653d85f 100644 (file)
@@ -64,6 +64,9 @@
                     onDeny: function() {
                             $(this).find('.tdata').empty();
                     },
+                    onHidden: function() {
+                            $(this).find('.tdata').empty();
+                    },
                     actions: [{
                         text    : '{{ _T("Send")|e('js') }}',
                         icon    : 'share',