mirror of https://github.com/MISP/MISP
fix: [upload_stix] Properly showing and hiding the sharing groups selector
parent
334ddbc533
commit
9a50d3324f
|
@ -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>
|
Loading…
Reference in New Issue