fix: [upload_stix] Properly showing and hiding the sharing groups selector

pull/9044/head
Christian Studer 2023-04-21 09:52:17 +02:00
parent 334ddbc533
commit 9a50d3324f
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 12 additions and 0 deletions

View File

@ -75,3 +75,15 @@
<?php
echo $this->element('/genericElements/SideMenu/side_menu', array('menuList' => 'event-collection', 'menuItem' => 'import_from'));
?>
<script>
$(function(){
$('#EventDistribution').change(function() {
if ($(this).val() == 4) {
$('#SGContainer').show();
} else {
$('#SGContainer').hide();
}
}).change();
});
</script>