mirror of https://github.com/MISP/MISP
chg: Internal reference category attributes should always default to your org only
parent
8f528ae881
commit
e4a4a90d07
|
@ -207,6 +207,10 @@ $(document).ready(function() {
|
|||
} else {
|
||||
$("#warning-message").hide();
|
||||
}
|
||||
if (select.value === 'Internal reference') {
|
||||
$("#AttributeDistribution").val('0');
|
||||
$('#SGContainer').hide();
|
||||
}
|
||||
}
|
||||
var $e = $(e.target);
|
||||
$('#'+e.currentTarget.id).popover('destroy');
|
||||
|
|
|
@ -163,6 +163,10 @@ $(document).ready(function() {
|
|||
} else {
|
||||
$("#warning-message").hide();
|
||||
}
|
||||
if (select.value === 'Internal reference') {
|
||||
$("#AttributeDistribution").val('0');
|
||||
$('#SGContainer').hide();
|
||||
}
|
||||
}
|
||||
var $e = $(e.target);
|
||||
$('#'+e.currentTarget.id).popover('destroy');
|
||||
|
|
Loading…
Reference in New Issue